Book description
A soup-to-nuts guide on the Objective-C programming language
Objective-C is the language behind Cocoa and Cocoa Touch, which is the Framework of applications written for the Macintosh, iPod touch, iPhone, and iPad platforms. Part of the Developer Reference series covering the hottest Apple topics, this book covers everything from the basics of the C language to advanced aspects of Apple development. You'll examine Objective-C and high-level subjects of frameworks, threading, networking, and much more.
Covers the basics of the C language and then quickly moves onto Objective-C and more advanced topics
Draws from the author's first-hand experience garnered while developing applications for the Mac and iPhone OS platforms
Includes chapters on classes, memory management, threads, and the Foundation framework
Also covers advanced topics like protocols, categories, associated objects, and blocks
Featuring real-life examples drawn from the author's experience, Objective-C offers an insider look at this amazing programming language.
Table of contents
- Copyright
- About the Author
- Credits
- Preface
- Acknowledgments
-
I. Introducing Objective-C
- 1. Introducing Objective-C
- 2. Understanding Basic Syntax
- 3. Adding Objects
- 4. Understanding Objective-C Memory Management
-
II. Exploring Deeper Features
- 5. Working with Blocks
- 6. Using Key Value Coding and Key Value Observing
- 7. Working with Protocols
-
8. Extending Existing Class Capabilities
- 8.1. Working with Third-Party Frameworks and Classes
-
8.2. Working with Categories
- 8.2.1. Declaring categories
- 8.2.2. Implementing category methods
- 8.2.3. Declaring categories in header files
- 8.2.4. Using a category
- 8.2.5. Breaking up functionality using categories
- 8.2.6. Extending class methods
- 8.2.7. Exploring category limitations
- 8.2.8. Implementing protocols with categories
- 8.2.9. Understanding the dangers of creating categories on NSObject
- 8.3. Extending Classes using Anonymous Categories
- 8.4. Associating Variables with Existing Classes
- 8.5. Summary
- 9. Writing Macros
- 10. Handling Errors
-
III. Using the Foundation Framework
- 11. Understanding How the Frameworks Fit Together
- 12. Using Strings
- 13. Working with Collections
- 14. Using NSValue, NSNumber, and NSData
- 15. Working with Times and Dates
-
IV. Exploring Advanced Topics
- 16. Multiprocessing with Threads
- 17. Objective-C Design Patterns
- 18. Reading and Writing Data with NSCoder
- 19. Using Objective-C on Other Platforms
Product information
- Title: Objective-C
- Author(s):
- Release date: February 2011
- Publisher(s): Wiley
- ISBN: 9780470479223
You might also like
book
Beginning Objective-C
Objective-C is today's fastest growing programming language, at least in part due to the popularity of …
book
More iPhone Development with Objective-C
If you are looking to extend your iOS programming skills beyond the basics then More iPhone …
book
Objective-C Quick Syntax Reference
The is a condensed code and syntax reference to the popular Objective-C programming language, which is …
book
Objective-C: Visual QuickStart Guide
Objective C 2.0 is the object-oriented language that is the basis for Cocoa and Cocoa Touch, …