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。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值