Learning Cocoa with Objective-C, 3rd Edition
Developing for the Mac and iOS App Stores
Publisher: O'Reilly Media
Released: December 2012
Pages: 398

Get up to speed on Cocoa and Objective-C, and start developing applications on the iOS and OS X platforms. If you don’t have experience with Apple’s developer tools, no problem! From object-oriented programming to storing app data in iCloud, this book covers everything you need to build apps for the iPhone, iPad, and Mac.

You’ll learn how to work with the Xcode IDE, Objective-C’s Foundation library, and other developer tools such as Event Kit framework and Core Animation. Along the way, you’ll build example projects, including a simple Objective-C application, a custom view, a simple video player application, and an app that displays calendar events for the user.

  • Learn the application life cycle on OS X and iOS
  • Work with the user-interface system in Cocoa and Cocoa Touch
  • Use AV Foundation to display video and audio
  • Build apps that let users create, edit, and work with documents
  • Store data locally with the file system, or on the network with iCloud
  • Display lists or collections of data with table views and collection views
  • Interact with the outside world with Core Location and Core Motion
  • Use blocks and operation queues for multiprocessing
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyLearning Cocoa with Objective-C, 3rd Edition
 
4.0

(based on 10 reviews)

Ratings Distribution

  • 5 Stars

     

    (5)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (1)

80%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (7)
  • Helpful examples (5)
  • Accurate (4)
  • Concise (4)
  • Well-written (4)

Cons

    Best Uses

    • Intermediate (6)
    • Novice (6)
    • Student (4)
      • Reviewer Profile:
      • Developer (8), Maker (4)

    Reviewed by 10 customers

    Sort by

    Displaying reviews 1-10

    Back to top

    (3 of 3 customers found this review helpful)

     
    5.0

    Many topics, useful as a reference

    By Cy

    from Redwood City, CA

    About Me Developer, Educator, Maker

    Verified Reviewer

    Pros

    • Accurate
    • Easy to understand

    Cons

    • Broad

    Best Uses

    • Intermediate
    • Novice
    • Student

    Comments about oreilly Learning Cocoa with Objective-C, 3rd Edition:

    Author strikes a good balance between teaching you and treating you intelligently. A decent spread of Cocoa/Objective-C topics, and good coverage of those. About half tutorial half lecture. Good stuff for learning a new technology.

    (4 of 4 customers found this review helpful)

     
    5.0

    Perfect for newbies to Apple

    By robert formerly of arizona

    from pdx

    About Me Developer, Sys Admin

    Verified Reviewer

    Pros

    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

    • Too short

    Best Uses

    • Existing Programmers
    • Intermediate
    • Novice

    Comments about oreilly Learning Cocoa with Objective-C, 3rd Edition:

    I picked up this book during O'Reilly's conference OSCON in Portland. I heard that the authors were around, but I sadly did not get to meet them.

    I found it a comprehensive guide to Cocoa and Objective-C. As an established programmer in a variety of fields and languages it was well targeted as a book with which I could learn these new technologies without being bombarded by basic concepts. I am unsure as to why the previous reviewer "hgorni" is under the impression that this book is solely targeted towards beginner programmers. To me, it is targeted towards existing programmers who want to get up to speed with Apple tech.

    Highly recommended.

    (0 of 4 customers found this review helpful)

     
    2.0

    What was the author thinking?

    By hgorni

    from Brazil

    About Me Developer

    Verified Reviewer

    Pros

    • Good Division Of Topics

    Cons

    • Difficult to understand
    • Exercises Make No Sense
    • Not comprehensive enough

    Best Uses

    • Unusable Due To Issues

    Comments about oreilly Learning Cocoa with Objective-C, 3rd Edition:

    I got stuck right at the first "putting it all together" code example at the end of chapter 6. After spending a full hour trying to figure how I could've missed so much from the last 5 chapters that I couldn't make sense of any of the steps in the exercise, I decided to read the reviews to see if someone had mentioned any similar issue. To my surprise, the reviewer "brunothedog" had the exact same problem as I did.

    The steps described by the author make absolutely no sense at all. Virtually ALL the steps in this exercise not only refer to concepts and/or functionalities not even mentioned in the book up to that point but the steps descriptions are so incredibly superficial that the exercise turns into the most irritating game of guessing and trial and error.

    Like the reviewer "brunothedog" said, by the time I become proficient on the framework and language I won't even need the book since I have to learn everything by guessing.

    I really focused while reading all the previous chapter and despite having learned nothing but basic Objective-C syntax and a couple of Cocoa concepts after reading more than 30% into the book, I was still hoping that the author would start to put the pieces together at some point, although not by suddenly throwing a bunch of uncovered concepts on the face of the reader and basically saying "you're on your own pal, good luck!".

    (5 of 5 customers found this review helpful)

     
    5.0

    Stunning example of breadth-first book

    By Hansel

    from London

    About Me Old Programmer

    Verified Reviewer

    Pros

    • Accurate
    • Breadth-first
    • Concise
    • Fun

    Cons

      Best Uses

      • Intermediate

      Comments about oreilly Learning Cocoa with Objective-C, 3rd Edition:

      This is a stunning example of a breadth-first tech book. It covers a huge range of topics relating to iOS and Mac development, and it covers them well. It has definitely equipped me with the knowledge to delve into both iOS (and Mac) and even inspired me to buy a ticket to Apple's WWDC this year (in the 2 minutes that they were available).

      I think a little more DEPTH would have been good in some exercises, but it's not really necessary. The book gives me a taste of everything, and enough information to make it happen.

      The code is clear, accurate and available for download (which helps!)

      I love this book. I received it as a gift from my spouse.

      (3 of 3 customers found this review helpful)

       
      5.0

      Excellent book for getting into OSX+iOS

      By Genson

      from NYC, NY

      About Me Developer, Maker

      Verified Reviewer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Fast Paced
      • Funny

      Cons

      • Fast Paced

      Best Uses

      • Existing Programmers
      • Ios Learners
      • Os X Learners

      Comments about oreilly Learning Cocoa with Objective-C, 3rd Edition:

      Fantastic book with clear well reasoned examples and a consistent tone throughout. Straightforward and well written instructions, commentary and thoughts.

      This book provides a great introduction to OS X and iOS developer. It is definitely targeted at someone who knows programming, but does not know Objective-C or Cocoa(Touch). It was certainly an eye opening and highly effective way for me to get up to speed with these popular (relatively) new frameworks and languages.

      Great examples, and it covers a wide range of topics. It starts with the fundamentals and moves very well (and fast without any nonsense) into useful tidbits.

      Highly recommended. I hope they release updated editions faster this time. Please, O'Reilly?

      (6 of 6 customers found this review helpful)

       
      4.0

      Emphasizes foundation over UI

      By Andy the EE

      from Tucson, AZ

      About Me Developer, Electronic Engineer, Embedded Firmware, Fpga Engineer

      Verified Reviewer

      Pros

      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

      • More Examples

      Best Uses

      • Intermediate
      • Novice

      Comments about oreilly Learning Cocoa with Objective-C, 3rd Edition:

      There are a lot of books that cover the Cocoa user interface in much greater detail. (The Hillegass book, "Cocoa Programming for Mac OS X", is pretty good for that.) This is the only book I've found that actually explains the weirdness of Objective-C 2.0's new features (properties, synthesizing, Automatic Reference Counting, etc) as well as providing useful examples of sort-of arcane concepts such as delegation, binding, and key-value observing, all within the context of Cocoa and OS X.

      All of those features are essential to writing a good OS X program, and in fact they greatly reduce the amount of code you have to write. But without actually walking through examples which show how they work, you just won't get it. (You may still have to work through things two or three times!).

      Perhaps a longer-form example project one could with through would have been a nice way to wrap it all up.

      You will probably want to work through an Xcode 4 tutorial, as the text assumes you know where things are in the tools (especially in Interface Builder). The book is "Mountain Lion aware" so it seems to support the most recent stuff in OS X.

      And you will probably want to get a separate book on Objective-C, as the book shows enough of the language to explain how it relates to Cocoa but the language offers a lot more to the programmer. Also, while Objective-C 2.0 is obviously based on C and you can include C sources in a project right alongside Objective-C sources, a lot of the features and syntax that make Objective-C what it is will be quite alien to any C programmer.

      (4 of 13 customers found this review helpful)

       
      1.0

      Not for beginners

      By brunothedog

      from UK

      About Me Learner

      Verified Reviewer

      Pros

      • Concise

      Cons

      • Difficult to understand
      • Not comprehensive enough

      Best Uses

      • Expert
      • Intermediate

      Comments about oreilly Learning Cocoa with Objective-C, 3rd Edition:

      The "Putting it all together" example in Chapter 6 "Blocks and Operation [Queues]" finally had me pulling my hair out:

      1 Create a new single-view application (Assume IOS here because it doesn't actually say anywhere)

      2 Add a table view to the view controller (Assume drag a table view onto View here)

      3 Change the table views prototype cell style to Basic (I couldn't find this property/attribute anywhere.. waste 25mins looking assume I'm stupid..give up and go on to next step)

      4 Select prototype cell and change its identifier to IconCell (What's a prototype cell?)

      By the time I get proficient enough with IB/Xcode to follow this example, I probably won't need this book. However it is probably concise enough to act as a lightweight reference when I do.

      (6 of 7 customers found this review helpful)

       
      4.0

      Learning Cocoa with Objective-C

      By Mat

      from Bentonville, AR

      About Me Developer

      Verified Reviewer

      Pros

      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Novice
        • Student

        Comments about oreilly Learning Cocoa with Objective-C, 3rd Edition:

        A great introduction to iOS and application development for Apple platforms. Although targeted to the beginner and intermediate crowd, it still manages to deliver a great foundation into iOS development. Examples were well explained and for the most part, error free. I'd recommend this book for anyone looking to get into development with Cocoa & Objective-C.

        (7 of 8 customers found this review helpful)

         
        4.0

        THE BOOK I'VE BEEN WAITING FOR!

        By Tack

        from Boston

        About Me Developer, Maker

        Pros

        • Concise
        • Easy to understand
        • Helpful examples

        Cons

          Best Uses

          • Learning Mac And Iphone
          • Novice
          • Student

          Comments about oreilly Learning Cocoa with Objective-C, 3rd Edition:

          This is the book that I have been waiting for! Yeah! They finally updated it!

          Read this book if you want to learn the bits and pieces of iPhone and Mac that you need to actually make apps. None of the fluff, just the bits you need.

          Great great!

          [I think chapter 6 should be Blocks and Operation Queues, not Operation Quotes, btw!]

          (8 of 9 customers found this review helpful)

           
          5.0

          Best book on iPhone and Mac development

          By Jeremiah Gale

          from Raeligh, North Carolina

          About Me Developer, Maker, Sys Admin, Unix Geek

          Verified Reviewer

          Pros

          • Accurate
          • Easy to understand
          • Helpful examples
          • Humorous
          • Well-written

          Cons

            Best Uses

            • Intermediate
            • Novice
            • Reskilling
            • Student

            Comments about oreilly Learning Cocoa with Objective-C, 3rd Edition:

            I'm a longterm C++ programmer and I'm making an effort to get into the modern world of mobile development. This book is very example oriented, and has good coverage of all the necessary components of Objective-C and Cocoa. It also fairly covers both Mac and iPhone development, instead of unfairly tending towards solely covering the iPhone.

            Content is covered in fairly high level of detail and it moves at a pace that made me feel like I know what I'm doing at most points throughout.

            Other members of my team are hoping to move to Objective-C and Cocoa and I will recommend this book to them. Of the many books I've tried, this is the only one that's stuck so far.

            My review is based on an Early Release ebook.

            Displaying reviews 1-10

            Back to top

             
            Buy 2 Get 1 Free Free Shipping Guarantee
            Buying Options
            Immediate Access - Go Digital what's this?