Objective-C the language of choice for iOS and OS X development, is a decades-old language built upon the C language. It's powerful and dynamic nature allow you to write incredible software, and it's C underpinnings allow you to write performance-heavy code as well.Advanced Objective-C takes you on a tour for Objective-C's inner workings. You'll learn the details about how Objective-C really works, how to use runtime features like dynamically created classes, andhow to work with JSON-created objects. You'll also learn compiler shortcuts, and you'll get the inside picture on what's happening in ARC. Finally, you learn about class clusters, using SQLite-backed NSArray, and how to write truly safe Objective-C code.Pro Objective-C breaks your understanding of the language down into its component parts and then reassembles them into powerful knowledge that unlocks your ability to write better, faster, and safer code. "
Inhaltsverzeichnis
I. How Objective-C Works
1. Objects and Inheritance
2. The Messaging System
3. Memory Management
4. Protocols and Categories
5. Objective-C and Thread Safety
II. Hacking Objective-C: Additional Runtime Features
6. Runtime Introspection
7. Dynamically Creating Classes
8. Project: JSON-Created Objects
9. Associated Objects
III. Objective-C in Practice: Integration with the Foundation Framework
10. Compiler Shortcuts: Object Literals
11. Key-Value Observation
12. Toll-Free Bridging and Blocks: Masquerading as Objective-C
13. ARC Explained
IV. Applied Objective-C
14. Class Clusters
15. Project SQLite-Backed NSArray
16. Writing Safe Objective-C
17. Using Objective-C++