Summary

This chapter covered several new features that have been introduced to iOS development since the introduction of Objective-C 2.0, LLVM, and Xcode 4.

New, much simpler literal syntax for NSNumber, NSArray, and NSDictionary instantiations was introduced. In addition, new syntax for accessing and updating elements of NSArray, NSMutableArray, NSDictionary, and NSMutableDictionary variables using subscripts was described. The new syntax can make code much shorter and more readable.

Automatic Reference Counting was discussed. The chapter covered how to create a new project to use ARC and how to convert an existing project to ARC. New memory management qualifiers and new coding rules required by ARC were explained. Proper use of ARC can reduce ...

Get iOS Components and Frameworks: Understanding the Advanced Features of the iOS SDK now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.