Synopses & Reviews
Developers, this book belongs on your desk!
Once you understand Objective-C and object-oriented programming, you can create apps for the hottest devices on the marketMacs, iPhones, and iPads. And with this detailed guide, top Mac developer and author Jiva DeVoe will have you coding in no time, even if you're a programming newbie. Coverage ranges from a thorough introduction to Objective-C basics to advanced techniques used by professional coders. You'll learn Objective-C memory management, how frameworks fit together, the tricky business of thread safety, where Xcode fits in, and much more.
Understand Objective-C syntax, runtimes, and Xcode®and write your first program
Create classes, work with properties, and learn about objects
Use code blocks, threads, KVO, and protocols
Define and write macros, handle errors, and use frameworks in your projects
Untangle threads, start using design patterns, and master advanced techniques
Read and write data with NSCoder
Write code for Windows®, Linux®, and other platforms
Access the latest information on Apple development
Visit www.wileydevreference.com for the latest on tools and techniques for Apple development, as well as code and project files from the book.
Professional guide to the programming language for Macs, the iPhone, and iPod Touch
Learn the ins-and-outs of Objective-C, the object-oriented programming language that is the heart of the development platform for Macs, iPhones, and iPod Touches. Whether you're a beginner or a veteran programmer accustomed to programming in Java or C++, Objective-C is not entirely intuitive. This essential guide walks you carefully through all key topics, from the basics of C programming to advanced Apple programming techniques. Master these concepts and join the crowd creating applications for the App Store Objective-C is a purely dynamic, object-oriented programming language, and the development language for Macs, iPhones, and iPod Touches Covers the basics of the C language and then moves to Objective-C and more advanced topics of frameworks, threading, networking, and more Explores such topics as Objective-C's bridges to other languages (such as C++, Ruby, and more), version control, test-driven development (TDD), and user interface design
Learn everything you need to program in Objective-C professionally.
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.
About the Author
Jiva DeVoe is the founder of Random Ideas, LLC, a software company specializing in iPhone and Mac OS X applications. He has been writing software for nearly 25 years. His iPhone apps have been featured as Apple staff picks and in Apple ads. He is also the author of Cocoa Touch for iPhone OS 3 Developer Reference. Contact Jiva through his blog at www.random-ideas.net.
Table of Contents
Part I: Introducing Objective-C.
Chapter 1: Introducing Objective-C.
Chapter 2: Understanding Basic Syntax.
Chapter 3: Adding Objects.
Chapter 4: Understanding Objective-C Memory Management.
Part II: Exploring Deeper Features.
Chapter 5: Working with Blocks.
Chapter 6: Using Key Value Coding and Key Value Observing.
Chapter 7: Working with Protocols.
Chapter 8: Extending Existing Class Capabilities.
Chapter 9: Writing Macros.
Chapter 10: Handling Errors.
Part III: Using the Foundation Framework.
Chapter 11: Understanding How the Frameworks Fit Together.
Chapter 12: Using Strings.
Chapter 13: Working with Collections.
Chapter 14: Using NSValue, NSNumber, and NSData.
Chapter 15: Working with Times and Dates.
Part IV: Exploring Advanced Topics.
Chapter 16: Multiprocessing with Threads.
Chapter 17: Objective-C Design Patterns.
Chapter 18: Reading and Writing Data with NSCoder.
Chapter 19: Using Objective-C on Other Platforms.