首页 > 代码库 > IOS SDK的架构
IOS SDK的架构
IOS SDK综述
前言:
这篇文章除了架构没有太多的东西,但是我一直觉得知道SDK能提供什么东西对IOS的整体架构把握很重要,会少走很多弯路。
一 几点理解
官方关于IOS的文档
https://developer.apple.com/devcenter/ios/index.action
这里要提到的是,Apple的文档是深入理解IOS开发的根源,所以,一定要能够看懂文档。另外,Apple建议,能使用上层的库来实现就尽量使用上层的,SDK提供的上层库的效率往往比较高。(毕竟Cocoa经历过那么多年的历史,经过无数锤炼,顺着它来总没错)
本文主要来自官网文档
链接
https://developer.apple.com/library/ios/documentation/Miscellaneous/Conceptual/iPhoneOSTechOverview/Introduction/Introduction.html
二 IOS系统的分层
分层用一幅图来看
IOS的底层是基于Unix系统的,所以很多Unix系统的特征,IOS都有。
Cocoa Touch Layer
App Extensions | HandOff |
Document Picker | Air Drop |
Text Kit | UIKit Dynamics |
Multitasking | Auto Layout |
Stroyboard | UI State Preservation |
App Push Notification | Local Notification |
Gesture Recongnizer | Standard System View Controller |
Address Book UI FrameWork | EventKit UI FrameWork |
GameKit FrameWork | iDaFrameWork |
MapKit FrameWork | Message UI FrameWork |
PushKit FrameWork | Twitter FrameWork |
UIKit FrameWork |
Media Layer
Graphics Technology
UIKit graphics(BeizerPath) | Core Graphics FrameWork |
Core Animation | Core Image |
OpenGL ES and GLKit | MEtal |
Text Kit and Core Text | Image I/O |
Photos Library |
Audio Technology
Media Player Framework | AV Foundation |
Open AL | Core Audio |
Video Technology
UIImagePickerController | AVKit |
AV Foundation | Core Media |
Media Layer FrameWork
Assets Library Framework | AV Foundation Framework |
AVKit Framewrok | Core Audio |
Core Audio Framework | Core Graphics Framework |
Core Image Framework | Core Text Framework |
Core Video Framework | Game Controller Framework |
GLKit Framework | Image I/O Framework |
Media Accessibility Framework | Media Player Framework |
Metal Framework | OpenAL Framework |
OpenGL ES Framework | Photos Framework |
Photos UI Framework | Quartz Core Framework |
Scene Kit FrameWork |
Core Servie Layer
iCloud Storage | Block Objects |
Data Protection | File-Sharing Support |
GCD | In App purchase |
SQLite | XML Support |
Core Service Framework
Accounts Framework | Address Book Framework |
Ad support Framework | CFNetwork Framework |
CloudKit Framework | Core Data Framework |
Core Foundation Framwork | Core Location Framework |
Core Media Framework | Core Motion Framework |
Core Telephony Framework | EventKit Framework |
Foundation Framework | HealthKit Framework |
HomeKit Framework | JavaScript Core Framework |
Mobile Core Service Framework | Multipeer Connectivity Framework |
NewsstandKit Framework | PassKit Framework |
Quick Look Framework | Safari Service Framework |
Social Framework | StoreKit Framework |
System Configuration Framework | WebKit Framework |
Core OS Layer
Accelerate Framework | Core Bluetooth Framework |
External Accessory Framework | Generic Security Service Framework |
Local Authentication Framework | Network Extension Framework |
Security Framework | System |
65-Bit Support |
未完待续...
希望我能把大部分IOS框架学习完并完成相关的Blog。
IOS SDK的架构