Back to skip links

Additional product details

eText: 
ISBN-10 0133441377ISBN-13 9780133441376
Print: 
ISBN-10 0321917014ISBN-13 9780321917010
Author(s): Matt Galloway
Publisher: Addison-Wesley Professional
Copyright year: © 2013 Pages: 320
Description

Write Truly Great iOS and OS X Code with Objective-C 2.0!

Effective Objective-C 2.0 will help you harness all of Objective-C’s expressive power to write OS X or iOS code that works superbly well in production environments. Using the concise, scenario-driven style pioneered in Scott Meyers’ best-selling Effective C++, Matt Galloway brings together 52 Objective-C best practices, tips, shortcuts, and realistic code examples that are available nowhere else.

Through real-world examples, Galloway uncovers little-known Objective-C quirks, pitfalls, and intricacies that powerfully impact code behavior and performance. You’ll learn how to choose the most efficient and effective way to accomplish key tasks when multiple options exist, and how to write code that’s easier to understand, maintain, and improve. Galloway goes far beyond the core language, helping you integrate and leverage key Foundation framework classes and modern system libraries, such as Grand Central Dispatch.

Coverage includes

  • Optimizing interactions and relationships between Objective-C objects

  • Mastering interface and API design: writing classes that feel “right at home”

  • Using protocols and categories to write maintainable, bug-resistant code

  • Avoiding memory leaks that can still occur even with Automatic Reference Counting (ARC)

  • Writing modular, powerful code with Blocks and Grand Central Dispatch

  • Leveraging differences between Objective-C protocols and multiple inheritance in other languages

  • Improving code by more effectively using arrays, dictionaries, and sets

  • Uncovering surprising power in the Cocoa and Cocoa Touch frameworks

  • Three Ways to Study
    with eTextbooks!

    • Read online from your computer or mobile device.
    • Read offline on select browsers and devices when the internet won't be available.
    • Print pages to fit your needs.

    CourseSmart eTextbooks let you study the best way – your way.