Book review: iPhone SDK Development

When you want to learn developing applications for the iPhone, you have to start somewhere. For me, I usually start with buying a book, and study from it. This book from the Pragmatic Bookshelf looked promising and is now my first iPhone development book. But did it get me to where I wanted to get? My review will tell you just what this book did for me.

Review

To be honest, this wasn’t my first book from the Pragmatic Bookshelf. I’ve bought The Pragmatic Programmer, and read it from cover to cover. It provided me great insights, so I hoped that this iPhone SDK Development would be of the same high quality. My goals were quite simple: I knew nothing about iPhone development, and I wanted to learn it. No, let me rephrase that: I knew nothing about iPhone development, and I wanted to learn it from this book alone, because I would be studying during my holiday in Italy, far away from the internets.

The book starts with some must-read chapters about the very basics of iPhone development. The other chapters are there for when you need them. You probably only want to read up on using MapKit, if you need it, not because it’s the basics of all iPhone applications. In this way, the chapters are well organized: basics first, fancy features later.

The first few chapters (1-7) give you a lot of information about the basics of Objective C and the iPhone SDK essentials. Since I have a programming background, I had no problem understanding these concepts, except maybe memory management. In these first chapters, the author takes you by the hand, and creates a couple of sample applications, with all code provided in the book. You just have to type it over, so to speak, and it works. Further in the book, the authors don’t go through all the trouble again and again, and then only explain the chapter’s subject in detail, leaving the rest to you.

In the book, UI elements are never created via the code. Everything is explained with the Interface Builder, a built-in tool of Xcode. This appeared to be a good choice. It saved me as a beginner from the intricacies of creating a UI element from scratch in the code. The authors teach you how to access UI elements from the got to get the data in or out of them, which is all you need in the beginning. All styling and graphical changes can be done through the Interface Builder.

When you finally reach the more advanced topics (chapters 8 through 29), you probably have spent a good amount of hours poking around in Xcode. As such, you’ve by now learned from both the book and your mistakes. I haven’t read through all the chapters just yet, only a couple I needed. From my experience, these advanced chapters give you the basics to get started with the topic. If you need more details or other functionality, you really need to get on the Internet. Not only to find answers to potential questions, but also because sometimes code is provided on the book’s website. This made it more difficult for me to study offline, which was really too bad. I spent quite some time figuring out my mistakes when dealing with Core Data.

Conclusion

iPhone SDK Development provided a very good start for me. Chapters 1-7 provided me with the basics, and chapters 8-29 provided me with information I could fall back on, if I needed to know more about that particular subject. I would recommend this book to anyone who wants to start with iPhone development, even though the book is based on SDK version 3.x. This book is aimed towards beginners, and as such delivers a good introduction.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>