Apress Cyber Monday SALE

Learn Objective-C on the Mac

For OS X and iOS

2nd Edition

By Scott Knaster , Waqar Malik , Mark Dalrymple

  • eBook Price: $27.99 $10.00
  • Print Book Price: $39.99
Buy eBook Buy Print Book
Learn to write apps for some of today's hottest technologies, including the iPhone and iPad (using iOS), as well as the Mac (using OS X). Learn Objective-C on the Mac: For OS X and iOS, Second Edition is an extensive, newly updated guide to Objective-C, the native language that is the underlying foundation for the iOS and OS X software development kits.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-4188-1
  • 384 Pages
  • User Level: Beginner
  • Publication Date: July 10, 2012
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Swift Game Programming for Absolute Beginners
  • Swift Recipes
  • Beginning Hybrid Mobile Application Development
  • Enterprise Mac Security: Mac OS X (Third Edition)
  • Enterprise Mac Administrator\'s Guide: Second Edition
  • Designing for iOS with Sketch
  • Get Fit with Apple Watch
  • Beginning iPhone Development with Swift 2
  • Pro iOS Table Views and Collection Views
  • Troubleshooting Xcode
Full Description

Learn to write apps for some of today's hottest technologies, including the iPhone and iPad (using iOS), as well as the Mac (using OS X). It starts with Objective-C, the base language on which the native iOS software development kit (SDK) and the OS X are based. Learn Objective-C on the Mac: For OS X and iOS, Second Edition updates a best selling book and is an extensive, newly updated guide to Objective-C.

Objective-C is a powerful, object-oriented extension of C, making this update the perfect follow-up to Dave Mark’s bestselling Learn C on the Mac. Whether you’re an experienced C programmer or you’re coming from a different language such as C++ or Java, leading Mac experts Scott Knaster and Waqar Malik show how to harness the power of Objective-C in your apps!

  • A complete course on the basics of Objective-C using Apple’s newest Xcode tools
  • An introduction to object-oriented programming
  • Comprehensive coverage of new topics like blocks, GCD, ARC, class extensions, as well as inheritance, composition, object initialization, categories, protocols, memory management, and organizing source files
  • An introduction to building user interfaces using what is called the UIKit
  • A primer for non-C programmers to get off the ground even faster

What you’ll learn

  • Learn Objective-C programming, the gateway to programming your iPhone, iPad or Mac
  • Write apps for the iOS and/or OS X interfaces, the cleanest user-interfaces around
  • Understand variables and how to design your own data structures
  • Work with the new Objective-C features now available in this update like blocks, automated reference counting (ARC) and class extensions
  • Work with new tools available like Clang static analyzer and Grand Central Dispatch (GCD)
  • Undertand UIKit and how to build simple user interfaces easily and effectively
  • Explore using the latest Xcode

Who this book is for

For anyone wanting to learn to program native apps in iOS and/or OS X, including developers new to the iOS-based iPhone and iPad as well as OS X-based Mac computers. This book is for developers new to Objective-C, but who have some programming experience.

Table of Contents

Table of Contents

  1. Hello
  2. Extensions to C
  3. Introduction to Object-Oriented Programming
  4. Inheritance
  5. Composition
  6. Source File Organization and Using Xcode 4
  7. More About Xcode
  8. A Quick Tour of the Foundation Kit
  9. Memory Management and ARC
  10. Object Initialization
  11. Properties
  12. Categories
  13. Protocols
  14. Blocks and Concurrency
  15. Introduction to UIKit
  16. Introduction to the Application Kit
  17. File Loading and Saving
  18. Key-Value Coding
  19. Using the Static Analyzer
  20. NSPredicate
Appendix: Coming from Other Languages
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published


    1. PHP Objects, Patterns, and Practice

      $38.99 $10.00

      View Book

    2. Beginning Android 3D Game Development

      $34.99 $10.00

      View Book

    3. Troubleshooting Oracle Performance

      $41.99 $10.00

      View Book

    4. Beginning Amazon Web Services with Node.js

      $38.99 $10.00

      View Book