IOS system architecture The IOS system architecture is divided into four layers: 1. Core operations layer (core OS) 2. Core Services Layer (core services) 3. Media Layer)
4. Cocoa touch) Main functions of each layer (only available) 1. core operating system layer (core OS): it includes memory management, file system, power management, and some other operating system tasks. It can directly interact with hardware devices. 2. core services: we can use it to provide IOS services, such as network connection, file access, database, and user location. 3. Media: We can use various media files in an application to record audio and video, draw images, and create basic animation effects. 4. Cocoa touch: This layer provides a variety of useful frameworks for application development, and most of them are related to user interfaces, essentially, it is responsible for user touch interaction on iOS devices.
Cocoa touch The cocoa touch layer has a very important framework, uikit framework, which provides various visual components for the Program (blank view, view)
Button: uibutton switch: uiswitch progress bar: uiprogressview
Framework:
Framework name |
Function |
Foundation |
Provides basic OC classes (nsobject) and basic data types. |
Uikit |
User Interface for creating and managing applications |
Quartzcore |
Provides animation effects and hardware rendering capabilities |
CoreGraphics |
Provides a C-based API for 2D rendering. |
Systemconfiguration |
Checks whether the current network is available and the status of hardware devices |
Ayfoundation |
Provides underlying APIs for audio recording and playback, and manages audio hardware. |
Cfnetwork |
Access and configure the network, and want HTTP, FTP, And bonjour services |
Corefoundation |
Provides abstract common data types, such as Unicode strings, XML, and URL. |
Corelocation |
Use GPS and WiFi to get location information |
Gamekit |
Provides network functions for games: point-to-point interconnection and voice communication in games |
Addressbook |
Provides the ability to access user contacts and information |
Addressbookui |
Provides a user interface to display the contact information stored in the address book. |
Audiotoolbox |
Provides underlying APIs for audio recording and playback, and manages audio hardware. |
Audiounit |
Provides an interface for our applications to Process audio. |
Mapkit |
Provides an embedded map interface for the reference program |
Mediaplayer |
Supports video and audio playback. |
Messageui |
Provides a view control interface to process e-mail and text messages. |
Opengles |
Provides animation effects and hardware rendering capabilities |
Advanced Development 0_basic development knowledge