ios框架学习

ios技术框架分为四个层:Cocoa Touch,Media,Core Services,Core OS;下面介绍官方文档中所阐述的每个层的一些功能和细节 

(参https://developer.apple.com/library/ios/documentation/Miscellaneous/Conceptual/iPhoneOSTechOverview/Introduction/Introduction.html#//apple_ref/doc/uid/TP40007898

    Cocoa Touch layer:  

    AirDrop可以跟附近的设备分享照片,文件,地址,和其他的数据。相关类:UIActivityViewController。To receive files sent using AirDrop, your app must do the following:
● Declare support for the appropriate document types in Xcode. (Xcode adds the appropriate keys to your
app’s Info.plist file.) The system uses this information to determine whether your app can open a
given file.
● Implement the application:openURL:sourceApplication:annotation: method in your app
delegate. (The system calls this method when a new file is received.)(相关详细有待研究)。

Text Kit:处理字体的工具包。

UIKit Dynamics:ios7新增特性,模拟现实中的动力学,即把涉及到动力的动画模拟出来。其实就是UIKit的一套动画和交互体系。我们现在进行UI动画基本都是使用CoreAnimation或者UIView animations。而UIKit动力学最大的特点是将现实世界动力驱动的动画引入了UIKit,比如重力,铰链连接,碰撞,悬挂等效果。一言蔽之,即是,将2D物理引擎引入了人UIKit。

  Multitasking: 

Auto Layout

Storyboards

UI State Preservation:

Apple Push Notification Service

Local Notifications

Gesture Recognizers

Standard System View Controllers

包含的框架有:Address Book UI Framework,Event Kit UI Framework,Game Kit Framework,iAd Framework,Map Kit Framework,Message UI Framework,Twitter Framework,UIKit Framework。


Media Layer

Graphics Technologies

Audio Technologies

Video Technologies

AirPlay

多媒体层包含的框架有Assets Library Framework,AV Foundation Framework,Core Audio,Core Graphics Framework,Core Image Framework,Core Text Framework,Core Video Framework,Game Controller,GLKit Framework Framework,Image I/O Framework,Media Accessibility Framework,Media Player Framework,OpenAL Framework,OpenGL ES Framework,Quartz Core Framework,Sprite Kit Framework


Core Services Layer

Peer-to-Peer Services

iCloud Storage

Automatic Reference Counting

Block Objects

Data Protection

File-Sharing Support

Grand Central Dispatch

In-App Purchase

SQLite

XML Support

核心服务层包含的框架有:Accounts Framework,Address Book Framework,Ad Support Framework,CFNetwork Framework,Core Data Framework,Core Location Framework,Core Media Framework,Core Motion Framework,Core Telephony Framework,Event Kit Framework,Foundation Framework,JavaScript Core Framework,Mobile Core Services Framework,Multipeer Connectivity Framework,Newsstand Kit Framework,Pass Kit Framework,Quick Look Framework,Safari Services Framework,Social Framework,Store Kit Framework,System Configuration Framework。


Core OS Layer:Accelerate Framework,Core Bluetooth Framework,External Accessory Framework,Generic Security Services Framework,Security Framework,System,64-Bit Support

好吧,技术太多了,下面结合Demo从最基本的开始研究,先从最常用的Cocoa Touch Layer中的

UIKit Framework。

你可能感兴趣的:(ios学习)