Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Are you running into problems trying to build an iPhone, iPad, or iPod Touch app? With this cookbook, you'll find the answers you need to tackle the maze of technologies in the iOS SDK, with recipes that include sample code and clear discussions of why the solution works. Complete with solutions for problems faced by beginning, intermediate, and advanced developers, this book will take you from concept all the way to the App Store.

Subscriber Reviews

Average Rating: 4.285714285714286 out of 5 rating Based on 7 Ratings

" find solutions for typical iOS 4 related issues" - by Michal Konrad Owsiak on 06-AUG-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
iOS 4 Programming Cookbook was the first of cookbook series I have ever read. The idea of this series is to present recipes that will allow you to “prepare” piece of code that does “something”. Recipes are presented very consistent way through the description of the problem, answer for the particular problem and explanation of the given solution. Problems, that are discussed within the book, usually refer to issues that are elementary yet very commonly asked by introductory programmers. Book is divided into chapters that cover different aspects of iOS programming. You will find there answers to topics like view related issues, data management using Core Data, threading, multitasking, XML, and many other aspects of iOS 4 APIs. In general, I find this book interesting, however there are few drawbacks when it comes to details. First of all, you can’t treat this book as the only source of knowledge when it comes to learning iOS programming. You should treat it as a reference for quite common problems that people encounter, but not as a complete guide to programming. I’d suggest here buying another book that describes topics in greater details (e.g. Learning iPhone Programming). Another issue here is that some topics may be very misleading. If you have never used Objective-C before you will probably find it difficult to understand it through “Working with objects” chapter. I think that this section could be skipped at all. It doesn’t cover the Objective-C programming related techniques deeply. Even more, most of the topics that are discussed in this section you will find in any “programming in Objective-C” related title as well – but better explained. I would recommend this book only to people who want to have a starting point for some of the common tasks that have to be performed while programming any complex application. As a starting point for learning iOS programming – not really.
Report as Inappropriate

"Improve your recipies, make a banquet" - by mister.koz on 18-APR-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
O'Reilly's iOS4 Programming Cookbook is yet to fail me, every time i am stuck i flick through to the appropriate section and find a recipe that solves my current hurdle.

The wording is simple enough to understand and advanced enough to actually be useable. Each step is well explained and delivers a balance of detail and conciseness.

5 stars is bold but 4 is not enough.

Report as Inappropriate

"Worth its weight in working code." - by W. Scott Means on 15-FEB-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Disclosure: I’m an O’Reilly Author and developer of the Great iPhone Development Video series. That being said, I’m not one for pulling punches when I see issues with with people’s code (ask anyone I’ve ever code reviewed :).

This is the book I wish I’d had when I started developing for the iPhone. I started writing apps about two weeks after the infamous Apple Developer NDA was lifted and information started trickling out onto the Internet. If I’d have had a book like the iOS Cookbook I could have saved myself many hours of painful trial and error while learning Objective C and what is now the iOS API.

The book is organized into broad chapters that address major areas of iOS programming, starting with the basics of Objective-C classes and methods (aka selectors) moving all the way through the bread-and-butter UI components (UINavigationController and UITableViewController) all the way to the newest iOS 4.0 frameworks (such as Core Motion.)

At 600+ pages, this book provides tons of working code samples to help jump-start iOS development projects. One thing I’ve noticed after developing a dozen or so apps is that I’m constantly cannibalizing my older apps looking for code snippets to put into my newer applications. This book can provide snippets for areas that I haven’t figured out yet (like the AV Foundation framework.)

There are a few areas where the examples could be clearer, and it’s clearly impossible to cover some of the more sophisticated functions of areas like Core Data in 620 pages. But overall this is an excellent reference for new and experienced app developers alike, and I’d recommend adding it to your ebook library.

Report as Inappropriate

"Probably one of the best book on IOS4" - by Andrea on 19-JAN-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book is accessible, easy, full of contents and more important updated to ios4.
The approach used is pretty simple Problem-->Solution, and of course problems are the most common.
Even if is simple some arguments are not  intended for beginners.

Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for iOS 4 Programming Cookbook

  • Catalog Page

Visit the errata page for iOS 4 Programming Cookbook

  • Errata

Download the supplemental electronic content for iOS 4 Programming Cookbook

  • Supplemental Content