Before programmers can master Cocoa and write state-of-the-art software for Mac OS X, iPhone, iPad, or iPod touch, they must first understand the essentials of Objective-C. In this book, the world's leading Mac development trainers bring together all the knowledge programmers will need to program effectively with the latest version of this powerful language. The authors first review the basics of C, the language Objective-C is based on. Next, they systematically introduce today's best practices for object-oriented programming with Objective-C. This edition covers new features of the Objective-C language including number/array/dictionary literal syntax, boxing, and subscripting and the most recent best practices and style guidelines. It also includes more information on advanced Objective-C and the Objective-C runtime and is updated for the latest version of Xcode. . This title is part of the brand-new Big Nerd Ranch Press series: the world's best books on Mac and iPhone development, straight from the world's #1 Mac programming trainers - Aaron Hillegass and Big Nerd Ranch!
Product Description
Want to write iOS apps or desktop Mac applications? This introduction to programming and the Objective-C language is your first step on the journey from someone who uses apps to someone who writes them. Based on Big Nerd Ranch's popular Objective-C Bootcamp, Objective-C Programming: The Big Nerd Ranch Guide covers C, Objective-C, and the common programming idioms that enable developers to make the most of Apple technologies. Compatible with Xcode 5, iOS 7, and OS X Mavericks (10.9), this guide features short chapters and an engaging style to keep you motivated and moving forward. At the same time, it encourages you to think critically as a programmer.
Here are some of the topics covered:
Using Xcode, Apple’s documentation, and other tools
Programming basics: variables, loops, functions, etc.
Objects, classes, methods, and messages
Pointers, addresses, and memory management with ARC
Properties and Key-Value Coding (KVC)
Class extensions
Categories
Classes from the Foundation framework
Blocks
Delegation, target-action, and notification design patterns
Key-Value Observing (KVO)
Runtime basics
Features + Benefits
The best hands-on guide to mastering Objective-C: the language every Mac OS X and iPhone/iPod touch developer needs to know
Product Description
Want to write iOS apps or desktop Mac applications? This introduction to programming and the Objective-C language is your first step on the journey from someone who uses apps to someone who writes them. Based on Big Nerd Ranch's popular Objective-C Bootcamp, Objective-C Programming: The Big Nerd Ranch Guide covers C, Objective-C, and the common programming idioms that enable developers to make the most of Apple technologies. Compatible with Xcode 5, iOS 7, and OS X Mavericks (10.9), this guide features short chapters and an engaging style to keep you motivated and moving forward. At the same time, it encourages you to think critically as a programmer.
Here are some of the topics covered:
Using Xcode, Apple’s documentation, and other tools
Programming basics: variables, loops, functions, etc.
Objects, classes, methods, and messages
Pointers, addresses, and memory management with ARC
Properties and Key-Value Coding (KVC)
Class extensions
Categories
Classes from the Foundation framework
Blocks
Delegation, target-action, and notification design patterns
Key-Value Observing (KVO)
Runtime basics
Features + Benefits
The best hands-on guide to mastering Objective-C: the language every Mac OS X and iPhone/iPod touch developer needs to know