本专栏旨在通过苹果官方文档复习一下 Objective-C 编程指南,以便日后方便查阅。
1. About Objective-C
Objective-C is the primary programming language you use when writing software for iOS and MacOS. It's a superset of the C programming language and provides objective oriented capabilities and a dynamic runtime.
2. At a Glance
2.1 An App Is Built from a Network of Objects
2.2 Categories Extend Existing Classes
2.3 Protocols Define Messaging Contracts
2.4 Values and Collections Are Often Represented as Objective-C Objects
2.5 Blocks Simplify Common Tasks
2.6 Error Objects Are Used for Runtime Problems
2.7 Objective-C Code Follows Established Conventions