iOS Components and Frameworks: Understanding the Advanced Features of the iOS SDK
by Kyle Richter, Joe Keeley
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access