[iOS]Objective-C 实用特性索引(Objective-C Feature Availability Index)
2012-11-15 08:34
344 查看
太阳火神的美丽人生 (http://blog.csdn.net/opengl_es)
本文遵循“署名-非商业用途-保持一致”创作公用协议
转载请保留此句:太阳火神的美丽人生 - 本博客专注于 敏捷开发及移动和物联设备研究:iOS、Android、Html5、Arduino、pcDuino,否则,出自本博客的文章拒绝转载或再转载,谢谢合作。
Objective-C 实用特性索引(Objective-C Feature Availability Index)
本文档分别针对 Xcode 版本以及使用的编译器,还有使用的操作系统版本,将 Objective-C 的各种特性串联起来。This article correlates features of the Objective-C language with the versions of Xcode and compiler you need to use them, and the OS versions you can use them with.
特性 Feature | 工具版本 Tools versions | OS X 部署版本 OS X deployment | iOS 布署版本 iOS deployment |
---|---|---|---|
自动引用计数 (ARC) Automatic Reference Counting (ARC) | Xcode 4.2 (LLVM Compiler 3.0) | Requires modern runtime Deploys back to OS X v10.7 | Deploys back to iOS 5 |
无归零弱引用的自动引用计数(“ARCLite”) Automatic Reference Counting without zeroing weak reference (“ARCLite”) | Xcode 4.2 (LLVM Compiler 3.0) | Requires modern runtime Deploys back to OS X v10.6 | Deploys back to iOS 4 |
默认合成 @property的实例变量和访问器方法 Default synthesis of @propertyinstance variables and accessor methods | Xcode 4.4 (LLVM Compiler 4.0) | Requires modern runtime | Deploys back to iOS 4 |
实例变量声明于类扩展中 Instance variables in class extensions | Xcode 4.2 (LLVM Compiler 3.0) | Requires modern runtime | All iOS releases |
实例变量声明于 @implementation 实现块 Instance variables in @implementationblock | Xcode 4.2 (LLVM Compiler 3.0) | Requires modern runtime | All iOS releases |
@implementation 实现块中无需前向方法原型声明 No forward method prototypes needed in @implementationblock | Xcode 4.3 (LLVM Compiler 3.1) | All releases | All iOS releases |
NSNumber, NSDictionary[b]和 [/b] NSArray字面值 NSNumber, NSDictionaryand NSArrayliterals | Xcode 4.4 (LLVM Compiler 4.0) | All releases | All iOS releases |
布尔值 和 @NO 字面值 @YESand @NOliterals | Xcode 4.4 and OS X 10.8 or later SDK Xcode 4.5 and iOS 6 or later SDK (LLVM Compiler 4.0) | All releases | All iOS releases |
和 NSArray下标 NSDictionaryand NSArraysubscripting | Xcode 4.4 and OS X 10.8 or later SDK Xcode 4.5 and iOS 6 or later SDK (LLVM Compiler 4.0) | Requires modern runtime Deploys back to OS X v10.6 | Deploys back to iOS 4 |
“Requires modern runtime” implies 64-bit systems.
部署回
Deploys back to
相关文章推荐
- [iOS]Objective-C 实用特性索引(Objective-C Feature Availability Index)
- Objective-C Feature Availability Index
- Objective-C Feature Availability Index
- iOS开发——高级篇——Objective-C特性:Runtime
- iOS(iPhone,iPad))开发(Objective-C)开发库常用库索引
- iOS开发实用技巧—Objective-C中的各种遍历(迭代)方式
- IOS升级之 Objective-c新特性
- iOS开发实用技巧—Objective-C中的各种遍历(迭代)方式
- iOS开发实用技巧篇—项目新特性页面的处理
- iOS开发实用技巧—Objective-C中的各种遍历(迭代)方式
- iOS开发(Objective-C)常用库索引(十分有用的总结)
- iOS开发(Objective-C)常用库索引
- iOS开发(Objective-C)常用库索引
- iOS开发实用技巧—项目新特性页面的处理
- 黑马程序员——Objective-C程序设计(第4版)学习笔记之13-基本的C语言特性——黑马 IOS 技术博客
- iOS(iPhone,iPad))开发(Objective-C)开发库常用库索引
- iOS开发 入门学习总结(二)Objective-C 语法特性总结
- 黑马程序员-iOS基础-Objective-C基础(三)三大特性
- 【iOS】巧用 LLVM 特性: Objective-C Class Properties 解耦
- iOS:iOS7新特性,非常实用