Learning Objective-c 2.0: A Hands-on Guide To Objective-c For Mac And Ios Developers

E-Book Overview

Get Started Fast with Objective-C 2.0 Programming for OS X, iPhone, iPod touch, and iPad

 

If you want to learn Objective-C 2.0 to write programs for Mac OS X, iPhone, iPad, or iPod touch, you’ve come to the right place! Concise, readable, and friendly, Learning Objective-C 2.0 is the perfect beginner’s guide to the latest version of Objective-C.

 

Longtime Mac OS X and iPhone developer Robert Clair covers everything from the absolute basics to Objective-C 2.0’s newest innovations. Clair begins with a practical refresher on C and object-oriented programming and walks you through creating your first Objective-C program with Xcode. Next, you’ll master each core language feature, from objects and classes to messaging, frameworks, and protocols. Every concept is illustrated with simple examples, and many chapters contain hands-on practice exercises.

 

Throughout, Learning Objective-C 2.0 focuses on the features, concepts, and techniques that matter most day to day. The result is an outstanding first book for everyone who wants to begin programming for iPhone, iPod touch, iPad, or Mac OS X.

 

COVERAGE INCLUDES

 

  • Understanding methods, messages, and the Objective-C messaging system
  • Defining classes, creating object instances, and using class objects
  • Using categories to extend classes without subclassing
  • Simplifying development with Objective-C 2.0 declared properties
  • Using protocols to emphasize behavior rather than class
  • Working with common Foundation classes for strings, arrays, dictionaries, sets, and number objects
  • Using Objective-C control structures, including Objective-C 2.0’s new fast enumeration construct
  • Understanding application security and hiding the declaration of methods that should stay private
  • Using the new blocks feature provided in Objective-C 2.0

E-Book Content

Praise for Learning Objective-C 2.0 “With Learning Objective-C 2.0, Robert Clair cuts right to the chase and provides not only comprehensive coverage of Objective-C, but also time-saving and headache-preventing insights drawn from a depth of real world, hands-on experience. The combination of concise overview, examples, and specific implementation details allows for rapid, complete, and well-rounded understanding of the language and its core features and concepts.” —Scott D. Yelich, Mobile Application Developer “There are a number of books on Objective-C that attempt to cover the entire gamut of object-oriented programming, the Objective-C computer language, and application development on Apple platforms. Such a range of topics is far too ambitious to be covered thoroughly in a single volume of finite size. Bob Clair’s book is focused on mastering the basics of Objective-C, which will allow a competent programmer to begin writing Objective-C code.” —Joseph E. Sacco, Ph.D., J.E. Sacco & Associates, Inc. “Bob Clair’s Learning Objective-C 2.0 is a masterfully crafted text that provides in-depth and interesting insight into the Objective-C language, enlightening new programmers and seasoned pros alike. When programmers new to the language ask about where they should start, this is the book I now refer them to.” —Matt Long, Cocoa Is My Girlfriend (www.cimgf.com) “Robert Clair has taken the Objective-C language and presented it in a way that makes it even easier to learn. Whether you’re a novice or professional programmer, you can pick up this book and begin to follow along without knowing C as a prerequisite.” —Cory Bohon, Indie Developer and Blogger for Mac|Life “I like this book becaus
You might also like

Lexikon Der Informatik
Authors: Peter Fischer , Peter Hofer    155    0


Distributed Computing: Principles, Algorithms, And Systems
Authors: Ajay D. Kshemkalyani , Mukesh Singhal    125    0


Concise Algorithmics: The Basic Toolbox
Authors: Mehlhorn K. , Sanders P.    126    0


Perl Programming For Biologists
Authors: D. Curtis Jamison    119    0


Digital Image Processing: Piks Scientific Inside
Authors: William K. Pratt    158    0


Introduction To Programming With Fortran 77, 90, 95, 2003
Authors: Chivers , Sleightholme.    172    0


Linear Programming: Theory And Extensions
Authors: George B. Dantzig , Mukund N. Thapa    186    0


The Science Of Color
Authors: Steven K. Shevell    199    0


Tex By Topic: A Texnician's Reference
Authors: Victor Eijkhout    127    0


A Service Creation Environment Based On End To End Composition Of Web Services
Authors: Agarwal V. , Dasgupta K. , Karnik N.    152    0