Programming iOS 4
Fundamentals of iPhone, iPad, and iPod touch Development
Publisher: O'Reilly Media
Final Release Date: May 2011
Pages: 834

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

  • Learn Objective-C language details and object-oriented programming concepts
  • Understand the anatomy of an Xcode project and all the stages of its lifecycle
  • Grasp key Cocoa concepts such as relationships between classes, receiving events, and model-view-controller architecture
  • Know how views are managed, drawn, composited, and animated
  • Delve into Cocoa frameworks for sound, video, sensors, maps, and more
  • Touch on advanced topics such as threading and networking
  • Obtain a thorough grounding for exploring advanced iOS features on your own
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyProgramming iOS 4
 
3.9

(based on 19 reviews)

Ratings Distribution

  • 5 Stars

     

    (9)

  • 4 Stars

     

    (4)

  • 3 Stars

     

    (3)

  • 2 Stars

     

    (2)

  • 1 Stars

     

    (1)

74%

of respondents would recommend this to a friend.

Pros

  • Accurate (12)
  • Well-written (10)
  • Concise (8)
  • Easy to understand (8)
  • Helpful examples (7)

Cons

  • Too basic (4)
  • Not comprehensive enough (3)

Best Uses

  • Intermediate (12)
  • Novice (6)
  • Expert (5)
  • Student (5)
    • Reviewer Profile:
    • Developer (17)

Reviewed by 19 customers

Sort by

Displaying reviews 1-10

Back to top

Previous | Next »

 
3.0

Good compliment to your library

By Rich Briere

from Des Moines, Iowa

About Me Developer

Verified Reviewer

Pros

  • Accurate
  • Easy to understand
  • Helpful examples

Cons

    Best Uses

    • Intermediate
    • Novice

    Comments about oreilly Programming iOS 4:

    Matt Neuburg's extensive work, Programming iOS 4: Fundamentals of iPhone, iPad, and iPod Touch Development, is a good reference manual for beginning iOS4 development.  He spends time with Objective-C concepts before moving to the basics of Xcode/Cocoa programming, and then onto the visual aspects of the iOS environment.  Throughout the book Matt provides clear and precise code examples that accompany the text, which assists a new Objective-C programmer to understand the iOS paradigm quicker.  The code examples are easily used in your test projects to further understand the workings of the platform.  While this should not by your only O'Reilly Objective-C / iOS book in your library, you'll notice it will initially be used frequently as a how-to guide.

    That said, the majority of the figure images depicting Xcode screen shots are too small and lightly shaded, making the details virtually unreadable, so make sure the printed version you purchase has the updated image set. (Per the merchant response the August 26th printing corrected this issue)

    Disclosure: this copy was provided to the Des Moines CocoaHeads user group.

    (1 of 1 customers found this review helpful)

     
    4.0

    Good primer for experienced programmer

    By tanyag

    from Virginia

    About Me Developer

    Verified Reviewer

    Pros

    • Accurate
    • Concise

    Cons

      Best Uses

      • Intermediate

      Comments about oreilly Programming iOS 4:

      "Programming iOS 4" by Matt Neuburg is a comprehensive resource for experienced programmers who want to delve into serious iOS development. The book will help you build cool iOS apps and demystify a lot of its idiosyncrasies, but be warned - it will take a while to go through the book and it is not for people who are novice programmers. In all fairness the development environment for iOS (including the Xcode IDE) has an inherently steep learning curve. The book does its best to flatten this curve by providing organized comprehensive, accurate information but it is still not an universally accessible book.

      However, if you are patient and persistent, and stay the course, the rewards are plenty. You will be able to write cool apps that access the user's calendar data, or displays a Google map, along with custom annotations and overlays or make http calls to web APIs. Imagine the possibilities...

      The book starts with a detailed description of Objective-C, the programming language for iOS. It builds on showing the similarity and the differences of this language with the basic C language that it is originally based on. The book devotes a large section describing Xcode the IDE for iOS. It is a complex system and the "tour" and a detailed description of the "project" architecture is very helpful not only to use this environment effectively, but also to become fluent in the Apple app developer lingo. The knowledge you gain will be helpful to process other external sources of information which are not this clearly explained. Another very useful chapter of the book is the discussion of the "nib" files that store the drawing of the interface. This book probably provides one of the most clear description of these files, whose understanding can be very useful optimizing one's development lifecycle.

      (0 of 5 customers found this review helpful)

       
      1.0

      Worthless Figures !

      By Fred Worms

      from France

      Verified Reviewer

      Comments about oreilly Programming iOS 4:

      I just received this book, I don't have an opinion on the contents yet. However : the figures, as far as they are screen prints, are microscopic and totally worthless for me. See for example chapters 6 and 7. Unbelievable that nobody remarked this stupid mistake. I bought especially this book because Xcode 4 itself contains lots of too small texts , buttons etc. and is fatiguing to the eyes. Now I am obliged to either buy the e-book or use Safari On-line to see the figures in decent dimensions. Very disappointing!

      (4 of 5 customers found this review helpful)

       
      3.0

      Brilliant author, mediocre book

      By Ash

      from London, UK

      About Me Developer, Educator, Maker

      Verified Reviewer

      Pros

      • Accurate
      • Well-written

      Cons

      • Boring
      • Difficult to understand
      • Impractical
      • Not comprehensive enough
      • Too basic

      Best Uses

        Comments about oreilly Programming iOS 4:

        Mr. Neuberg is an excellent author, and his book on Applescript is one of my favorite programming texts. This work on iOS is really not worth purchasing, though. It's well-written, but very poorly conceived. It's not clear who Neuberg's intended audience is -- it is too simple for experienced programmers, and too complex for novices. For example, he spends agonizing amounts of time on history and very basic programming concepts, then breezes over pointers and addressing in a page. Then we get page after page about how the windows in XCode look. I read over half of the book before I gave up -- it still hadn't gotten to the point where you could code an example program.

        This type of programming book should NOT attempt to be comprehensive, but should be fun and practical. Neuberg should have gotten readers up and running with a real application quickly.

        I am a competent programmer in C and C++, and bought this book to get a flavor of iOS programming, and hopefully to be inspired. In the end I was disappointed and bored.

        I'm sorry to give Neuberg a negative review as he is a clear thinker, an excellent writer, and an important contributor to the Macintosh community. But even the greats strike out occasionally!

         
        4.0

        My 1st iOS Programming Book

        By Gil

        from Rochester, NY

        About Me Designer, Developer

        Verified Reviewer

        Pros

        • Comprehensive
        • Easy to understand
        • Well-written

        Cons

        • A little out-of-date

        Best Uses

        • Intermediate

        Comments about oreilly Programming iOS 4:

        Currently I program in C++ but many years ago I programmed in Objective-C on a NeXTStation (I still have it :-). I needed a refresher/update on Objective-C, XCode and programming for iOS devices. This book fulfills that need, and does a fairly good job at that.

        There are some issues with the book, however, not all of them are the author's fault.

        First, iOS and XCode are transitioning to new versions. iOS 5 is coming up soon and XCode is actively changing. The book was written for iOS 4 and XCode 4, but I would have liked to see iOS 5 features and XCode 4.2. Maybe the author is planning an update?

        Second, many of the figures in the book are small, very faint, and blurry. This applies to figures which appear to be screen grabs from XCode.

        (3 of 4 customers found this review helpful)

         
        5.0

        Utterly Excellent

        By broomburgo

        from Rome, Italy

        About Me Developer

        Verified Reviewer

        Pros

        • Accurate
        • Concise
        • Helpful examples
        • Well-written

        Cons

        • Difficult to understand
        • Not for absolute beginner

        Best Uses

        • Expert
        • Intermediate
        • Student

        Comments about oreilly Programming iOS 4:

        When you rate a book, the first thing you should consider is "to whom the book is targeted". This book is not good for iOS programming beginners: if you're a beginner, you'll be bored and get serious headaches, because of the level of depth, the hard-to-understand topics, the lack of extensive real-world programming examples and the absence of "progression" in the learning process while reading this book.

        If you're into this kind of stuff, I strongly suggest the excellent "Learning iPhone Programming" by Alasdair Allan, here on O'Reilly.

        Programming iOS 4 is more like an encyclopedia of iOS: in its more than 800 pages you'll find basically everything that matters for writing great iOS apps, and if you're open-minded enough, you'll be amazed by the level of depth the author offers when he addresses the various topics in iOS programming. Matt Neuburg shows a serious, deep understanding of the principles and theory of iOS programming, and he unleashes this understanding by providing the reader with a massive insight in iOS programming topics: actually Neuburg shows a much better understanding of the theory than the same Apple programmers that teach at Stanford (whose lessons you'll find on iTunes U).

        So this book is for people who already read an introductory book and want to achieve a better serious understanding of the stuff they write.

        PS.: writing style is also excellent and sometimes really funny

        (7 of 9 customers found this review helpful)

         
        2.0

        Disappointing, hard to read.

        By TheUKDave

        from UK

        About Me Developer

        Verified Reviewer

        Pros

        • Accurate
        • Detailed

        Cons

        • Not enough examples
        • Slow

        Best Uses

        • Reference

        Comments about oreilly Programming iOS 4:

        I have been left pretty disappointed by this book. I feel a little guilty reviewing the book when I've only read about a 3rd of it, but it's pretty clear that the style of writing and the organisation of this book is showing little signs of improving.

        The biggest problem is that it seems to be catering for people with little to no experience in coding, but is totally hands-off. It's not unti 100 pages into the book that you finally open Xcode and make an empty project - literally an empty project, it's not even a "Hello, World!" app, it doesn't become a "Hello, World!" until some 50 odd pages later.

        For something seemingly written for people with little experience, so much is explained to the nth degree with no real world examples. As someone who DOES have experience coding, sometimes even I'm left head scratching a little but how complex things get whilst having no actual examples to relate them to.

        An example of this is that when you finally get to create your first empty project, some things that get explored in intricate detail before you actually get to run the program include: pretty much all the views and panes of Xcode, file linking and dependencies, build phases, build settings, other config (like what compiler it's using), the list goes on. Sometime in the 50 pages between an empty window and an empty window with "Hello. World!" in it, I decided to take a break from the book, and follow a (one-page!) internet tutorial, that did a very satisfactory job of displaying a "Hello, World!" message when I pressed a button - marvellous. Getting to this point in the book was an almost painful experience.

        Another (slightly less important) issue I had with the book was how the first part of the book could almost be skipped by someone (like me) who has coding experience. It gives the basics of C programming, talks about object oriented design, etc. It's all pretty basic stuff that you feel like you COULD skip if you know about these things, but you can't really, because every so often there's something important that goes beyond the basics and will be pretty essential to understand later on. So I felt I had to read a rather in-depth primer on C and OO, when in fact the vast majority of it was unnecessary.

        In short, this feels like it will (hopefully) become a sensible reference book when I'm actually into the whole iOS development game. Not good as a tutorial book for starting.

        (3 of 4 customers found this review helpful)

         
        2.0

        I expected more from O'Reilly book

        By Radster

        from Silicon Valley, CA

        About Me Developer

        Verified Reviewer

        Pros

          Cons

          • Not comprehensive enough
          • Poor coding examples
          • Too basic

          Best Uses

            Comments about oreilly Programming iOS 4:

            I am reading the book to get some introduction and learn to build couple of iPhone apps that has been brewing in my mind.

            I am 1/3rd into the book and all I can do is write an application that is analogous to "Hello World!". I think the intention of providing basic information of Cocoa Touch programming is there, but what is seriously missing is real application of step by step coding in Xcode and demonstrating those APIs and idea. Sure the author is referring to examples that he has worked, but one can learn lot better by actually typing the code and experimenting with it - this seems to be serious diversion from O'Reilly style for programming books.

            There is an organizational issue with the book also. I do like the whole chapter about app deployment and steps need to get certificates, etc., but it would have made a sense to have it out at the end of the book or as an appendix.

            In conclusion, this is not a good book to type and learn iOS programming.

            (1 of 2 customers found this review helpful)

             
            5.0

            Best iOS programming books I've read

            By U-Zyn Chua

            from Singapore

            About Me Developer, Sys Admin

            Verified Reviewer

            Pros

            • Accurate
            • Easy to understand
            • Well-written

            Cons

            • Lengthy
            • No downloadable code

            Best Uses

            • Intermediate
            • Novice
            • Student

            Comments about oreilly Programming iOS 4:

            I've bought and read a few iOS/iPhone programming books before this. Most assume prior knowledge of Objective-C, familiarity with Xcode and fundamentals of Cocoa.

            Programming iOS 4 explains everything from the most fundamental of concepts to get you from zero to master of iOS programming. It covers everything from language introduction (to C and Objective-C), Xcode 4, Cocoa, etc.

            The sample codes given on the book are also very carefully crafted to get the idea across.

            Due to the comprehensiveness of the book, it can get a little bit too lengthy. Most iPhone programming books are about 300-400 pages thick, this book has more than 800 pages! This is not all bad as the author is not limiting himself in words when trying to get a concept across to the readers.

            (3 of 3 customers found this review helpful)

             
            5.0

            The definitive guide to programming iOS4

            By Leo of BORG

            from Carmel, CA

            About Me Developer, Sys Admin

            Verified Reviewer

            Pros

            • Accurate
            • Concise
            • Easy to understand
            • Helpful examples
            • Lots of 'Gotchas'
            • Well-written

            Cons

              Best Uses

              • Expert
              • Intermediate
              • Student

              Comments about oreilly Programming iOS 4:

              Upshot: If you want to get into iOS Programming from the ground up 'the hard way' (without NimbleKit / PhoneGap, etc) then this is the book for you. Pros: This is a soup to nuts 1200+ page book. Cons: This is a soup to nuts 1200+ page book. Seriously: Look at the table of contents.

              I started with the early draft of this book and will probably keep referring to the 1200+ pages of the 1st edition --according to my iPad with the fonts way small-- for quite some time.

              even if you are already versed in programming, but new to iOS-- there will be a lot of content that will acquaint you with Objective C, the *current* IDE for iOS projects, XCode 4.x; as well as the more advanced topics like Cocoatouch & the frameworks that are used in iOS (local data storage restrictions, , etc). And, like the first sections for the beginners, Matt has filled the sections with 'why you wouldn't do this', warnings, and gotchas.

              Some of the bleeding edge technologies like Game Center & iAds are not covered, but what do you expect? As Matt says in the epilogue: "This book must come to an end, but your exploration of iOS will go on and on. Matt even helpfully outlines the areas of which Game Center is one.

              For a 1200+ pages of zero-to-app deployment this is well worth the price admission. Highly recommended. For those in doubt, I suggest you skim the table of contents on the product page to see if this book is for you.

              Reading environment: ePub on iPad, iPhone, Firefox ePubReader plugin on MacBook Pro.

              Disclosure: I received access to the early release as well as 'final' edition of this eBook from O'Reilly for review purposes.

              Displaying reviews 1-10

              Back to top

              Previous | Next »

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