Programming iOS 5, 2nd Edition
Fundamentals of iPhone, iPad, and iPod touch Development
Publisher: O'Reilly Media
Final Release Date: March 2012
Pages: 1014

Get a solid grounding in the fundamentals of Cocoa Touch, and avoid problems during iPhone and iPad app development. With this revised and expanded edition, you’ll dig into Cocoa and learn how to work effectively with Objective-C and Xcode. This book covers iOS 5 and Xcode 4.3 in a rigorous, orderly fashion—ideal whether you’re approaching iOS for the first time or need a reference to bolster existing skills.

Many discussions have been expanded or improved. All code examples have been revised, and many new code examples have been added.

  • The new memory management system—ARC—is thoroughly explained and all code examples have been revised to use it.
  • New Objective-C features, such as declaration of instance variables in the class’s implementation section, are described and incorporated into the revised example code.
  • Discussion of how an app launches, and all code examples, are revised for project templates from Xcode 4.2 and later.
  • Other new Xcode features, including the Simulator’s Debug menu, are covered, with screen shots based on Xcode 4.2 and later.
  • The discussion of Instruments is expanded, with screen shots—by popular request!
  • Storyboards are explained and discussed.
  • The explanation of view controllers is completely rewritten to include iOS 5 features, such as custom parent view controllers and UIPageViewController.
  • The Controls chapter now includes iOS 5 interface customizability and the appearance proxy.
  • New features of interface classes are discussed, including tiling and animated images, new table view features, new alert view styles.
  • Coverage of frameworks such as Core Motion and AV Foundation is greatly expanded. New iOS 5 classes and frameworks are also discussed, including Core Image and UIDocument (and iCloud support).
  • Important iOS 5 changes that can break existing code are explicitly called out in the text and listed in the index.
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyProgramming iOS 5, 2nd Edition
 
4.3

(based on 8 reviews)

Ratings Distribution

  • 5 Stars

     

    (4)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (0)

88%

of respondents would recommend this to a friend.

Pros

  • Well-written (7)
  • Accurate (6)
  • Easy to understand (6)
  • Helpful examples (3)

Cons

    Best Uses

    • Intermediate (6)
    • Expert (3)
      • Reviewer Profile:
      • Developer (6)

    Reviewed by 8 customers

    Sort by

    Displaying reviews 1-8

    Back to top

     
    4.0

    Informative guide

    By hu

    from Boston, MA

    About Me Developer

    Verified Reviewer

    Pros

    • Accurate
    • Easy to understand
    • Well-written

    Cons

    • Lack Of Images

    Best Uses

    • Intermediate

    Comments about oreilly Programming iOS 5, 2nd Edition:

    This book is suitable to understand the functionalities of iOS API comprehensively and shallowly. If readers are not familiar with Objective-C language and how to operate the user interface of xcode, they can create first application steadily. Because there are too much examples, readers can grasp the overview of iOS API.

    In my impression, this book doesn't have enough images and figures to understand what views are showed in UI as the result and how to operate the xcode UI. If next version is revised to contain more graphical information, it would help readers to understand more effectively.

    (0 of 1 customers found this review helpful)

     
    2.0

    Not for beginner

    By montokboy

    from Los Angeles

    About Me Designer, Developer

    Pros

    • Accurate
    • Concise

    Cons

    • Difficult to understand

    Best Uses

    • Intermediate

    Comments about oreilly Programming iOS 5, 2nd Edition:

    I have read several books on iOS development and this books is very informative but it's all over the place, constantly making the reader flip ahead and back, the examples referenced are hard to follow and it gets worse as you keep reading. It's very detailed and technical and the authors knowledge is very useful but one needs a familiar grasp of the key concepts of C and Obj C before going through this book, its not a good book for a beginner. Great book for technical people but for creative people trying to learn and get moving it's very counterproductive. It's very new developer unfriendly, it's the first time I have had to abandon a book, also

     
    4.0

    Great second edition, thick and detailed

    By Doron

    from Sydney, Australia

    About Me Developer

    Pros

    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Intermediate

      Comments about oreilly Programming iOS 5, 2nd Edition:

      Another iOS book, and a definitive chunky book to go through, but this book isn't designed for someone who has to read it cover-to-cover. This book is in fact a complete A-to-Z of concepts and topics in iOS, that should cover almost all of what you need. Beyond this book, you can focus on a specific topic. The second iteration of this book also introduces new iOS 5 concepts such as ARC memory management, the concept of adding private declarations within the implementation files and so forth, bringing your reference book up to speed with what's current.

      (2 of 2 customers found this review helpful)

       
      4.0

      Updated to reflect recent changes in iOS

      By mko

      from Poland

      Verified Reviewer

      Pros

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

      Cons

        Best Uses

        • Novice
        • Student

        Comments about oreilly Programming iOS 5, 2nd Edition:

        This book is simply a new release of "Programming iOS 4″. It contains lots of new information you won't find in previous release – mostly related to most recent changes in iOS 5. One of these features are story boards. Basically, whenever story boards are applicable, you will read how to apply them. ARC related memory management is another new feature, and, it is well described here. If you haven't used it yet you will learn how to work with ARC in both situations – when you develop old application and want to migrate to ARC and how to work with ARC in applications developed from the scratch. New concepts like @autoreleasepool blocks, weak references, retain cycles are also explained. Sections related to notifications, startup process and life time have improved. Comparing to previous edition, section "Swamped by Events" was rewritten and redesigned. In my opinion it is now easier to follow and easier to understand. The same refers to view controllers related part. Basically, the book targets recent XCode release and iOS 5 and addresses some composition/content related drawbacks you can find in previous release. Big plus goes for mentioning Instruments. However, this section is way too short. It covers only simple use-cases. Still, it's better than nothing.

        When it comes to drawbacks. In my opinion there are two frameworks that are missing – CoreData and SQLite. You won't find anything about these in here. I think that book would be much better if it covered database storage related aspects. At least at introductory level.

        If you own "Programming iOS 4″ already, I'd skip this "upgrade". In case you haven't developed for iOS yet, this one is really good introduction to iOS development.

        (3 of 3 customers found this review helpful)

         
        5.0

        Excellent guide

        By Igor Borodin

        from Plano, TX

        About Me Educator

        Verified Reviewer

        Pros

        • Accurate
        • Easy to understand
        • Focus on subject's logic
        • Helpful examples
        • Well-written

        Cons

          Best Uses

            Comments about oreilly Programming iOS 5, 2nd Edition:

            Programming language by its very nature is intrinsically integrated subject. That makes it quite challenging to explain one element without continuous cross-reference to other parts. As a result, many books on programming exhibit notorious cliche - 'Never mind the majority of this code. We'll talk about it later'. While a reference to a future discussion makes sense to author, it is of little help to reader, who has no way to see the overall picture. Even more so, overwhelming a learner with content that is admittedly incomprehensible for her at the moment, in effect obscures the focal point of the subject at hand.
            In that respect I found this book to be an excellent example of coherent, logically comprehensible guidance into the paradigm of Objective-C and iOS. It is both far more in-depth than typical intro to a language, and, yet the discussion is flowing in an engaging conversational mode.
            Occasional quantum leaps that I felt might be due to me being an amateur programmer.
            Highly recommend this book to anybody looking for clear essential explanations rather then superficial 'follow-me' style.
            The only suggestion I have would be to find a way to let a reader to play a little with certain core elements/features of C a bit earlier. Short practice/exercise sessions could help ingesting and memorizing peculiars of the C-language.

            (5 of 5 customers found this review helpful)

             
            5.0

            Indispensable!

            By LetsSeeIfICanGenerateABufferOverflowInTh

            from Here

            About Me Developer

            Verified Reviewer

            Pros

            • Comprehensive
            • Well-written

            Cons

              Best Uses

              • Expert
              • Intermediate

              Comments about oreilly Programming iOS 5, 2nd Edition:

              When learning/tackling technical problems, it is always a good idea to have multiple books. Redundancy saves your rear end when stuck in a problem. As such, I use more than one basic, tutorial-style book, and aim to collect more books which go into the deeper, fundamental info. But there is this vast chasm in the middle that is not being covered by anyone--and that's where Matt Neuburg's book comes in.

              There are books which teach Objective C, beginning tutotorial, game design, and app-idea books. But there is this massive monolith called the iOS stack that no-one is covering except the Apple documentation and Matt Neuburg's book. If all you're doing is cut-and-pasting sample-code, and then get stuck when things don't work, this book is what you ought to be using as reference. Also, every time I had to do something more than what the tutorials were doing, this book helped me out. Every time that I got stuck, when things were not working out, and I had to figure out why, this book helped out.

              It most certainly is not a tutorial book; those books are valuable, but widely available elsewhere. Instead, it helps me make sense of what the tutorials are doing, and to extend them for my own purposes. Once I began doing my own, the tutorials' ease immediately fell apart, as foreseen. That's when this book became particularly indispensable. It has a wealth of material not touched elsewhere. It's a treasure trove of information which would have taken me eons to mine from apple and other sources.

              To complete the picture, I recommend something to fill the gap between the tutorial guides/books and this book: Vandad Nahavandipoor's "iOS 5 Programming Cookbook". It is great for when you need quick answers, without having to dig into Neuburg's.

              (4 of 5 customers found this review helpful)

               
              5.0

              Superb book that is deep and authoritati

              By Alexis

              from London

              About Me Developer

              Verified Reviewer

              Pros

              • Accurate
              • Easy to understand
              • Well-written

              Cons

                Best Uses

                • Expert
                • Intermediate

                Comments about oreilly Programming iOS 5, 2nd Edition:

                This book is superb -- lucid, authoritative, and unusually deep.

                What do I mean by deep? There are lots of iOS books, but many of them are organized around presenting numerous short working examples of different parts of the system. The Big Nerd Ranch book, for instance, is a good one in that style. That style is useful -- the examples make good starting points and are likely to immediately show you the the particular bits of API you will need to do something similar.

                However, all of these fragments do not really add up to a coherent picture of the system and you do need such a coherent picture as soon as you want to do anything that is more than one or two steps away from a working example. So the choice is: you can spend a long time blindly tinkering with examples by trial and error, never really understanding why something worked or didn't work, or you can sit down, take the time to learn the fundamentals properly, and then be able to anything you like in a deliberate and reliable way. This book is the resource for the second kind of understanding -- for really understanding the fundamentals properly.

                In a way, you can think of it as the modern, IOS-oriented companion to Cocoa Design Patterns, another book which greatly helps in explaining the basic logic of the system (but which is sadly out of date, having never been updated for iOS).

                Another great thing about this book -- it's not just a rehash of Apple's "official" guidance. It's full of advice about occasional bugs in iOS and useful workarounds. This advice shows the scars of experience, and can save a lot of time.

                If I were just starting out with iOS and building a small library, I'd do the following:
                - get this book!
                - print, bind, and read the pdfs of Apple's own "View Programming Guide" and "View Controller Programming Guide". These are great, free, and better than most books.
                - get in the habit of reading Apple's own class reference documentation. Its quite readable.
                - perhaps get the Big Nerd Ranch book as well, because worked examples are also useful.
                - use stackoverflow judiciously, since sometimes it's invaluable but sometimes it's just the blind leading the blind.

                This new edition of the book, for iOS5, is doing a great job keeping the book up to date and is my preferred source for getting a thoughtful treatment of new features of the platform, like View Controller Containers, storyboards, etc..

                 
                5.0

                Best book about iOS for programmers!

                By sarsonj

                from Horice, Czech Republic

                About Me Developer

                Verified Reviewer

                Pros

                • Accurate
                • Book for programmers
                • Easy to understand
                • Well-written

                Cons

                  Best Uses

                  • Expert
                  • Intermediate

                  Comments about oreilly Programming iOS 5, 2nd Edition:

                  Finally! I found book, that is not crowded by tons of "example" codes, that can be found elsewhere. The agenda of book is really brilliant. What I like:

                  - it refresh your knowledge of C, in parts that are useful in iOS programming
                  - it is first book, that describes things, how they really works in iOS.
                  - I work as a iOS developer for almost 3 years, but I found a lot of interesting stuff there

                  This is not "teach yourself iOS programming in one week" style book, this is not book that describes on 20 pages, how to create simple "Hallo world" app. This is book for programmers and gives you information, that you maybe miss when reading official Apple docs.

                  Thanks! Worth every penny!

                  Displaying reviews 1-8

                  Back to top

                   
                  Buy 2 Get 1 Free Free Shipping Guarantee
                  Buying Options
                  Immediate Access - Go Digital what's this?
                  Ebook: $39.99
                  Formats:  DAISY, ePub, Mobi, PDF