on July 26, 2011
Programming iOS 4 is one of the publications available on market that are devoted to iOS related programming. And I was quite impressed when I was reading it. First of all, it is based not only on iOS 4 but on XCode 4 as well. This is huge advantage because you don't have to think about transition between XCode 3 and XCode 4 while reading the book. Not only book is based on the XCode, but Matt provides you with an introduction to the tool. This way you can get familiar with it fairly easy. You will find information regarding how to access documentation, how to deal with code snippets, how to deal with code completion (BTW ' if you are moving from any other IDE I suggest replacing Esc with Ctrl+space for code completion being invoked), static analysis of the code. It's a pity that this is another book where Instruments are not explained in greater details.
iOS development is based on Objective-C, which means that you have to get familiar with it when you move on from Java/C# world. Matt provides you with an introduction to the language. This section contain basic information related to C and Objective-C. Be warned here. I'd definitely suggest to buy some solid C guide ' like a classic 'C Language' by K&R. The same situation relates to Objective-C, go and buy something that is entirely devoted to language itself ' Programming in Objective-C by G. Kochan would be good idea. However, this is not mandatory. If you need just a brief overview of the language, Matt provides all you need here. However, there are small issues in C introduction. Matt refers to 'nil' which is not C standard ' it is introduced by Objective-C. The same refers to NSString object. As far as I recall, you can't use them in pure C.
After making you familiar with development environment Matt goes over features of iOS API and presents various aspects of iPhone programming. You won't get here complete solutions, instead he focuses on what's most important in each case. This way you can briefly go over the topics and focus on what's most important for you. At some point it might be irritating, because it looks like not much more than API description from the documentation, but in most cases it's something more than that.
In general, I find it quite useful. I have found few topics that I was not aware of after moving to XCode 4. I think the book is worth reading.
on September 15, 2012
I have this book for over a year now. I only had C experience before. The material is explained in a progressive fashion so you understand how things work. For example, the author would teach you the manual way, then an automated way, in the end you know how and why the automated way works.
It may seem that you're not doing a lot at first, as you learn the foundation. But once you undertand you rapidly gain experience. I had an idea for a project from the start. I did skip a few chapters that were irrelevant to my project, or revisited chapters that I needed later. Every time I return to this book, I'm amazed to see how complete and organized the information is presented.
I'll buy the iOS 6 version when it comes out.
on September 14, 2011
I have only read the language section (first 90 or so pages), (trying to cover) basic objective-C. It needs a major revision with a clearly defined audience in mind. The section is clearly not enough for someone who does not understand object oriented programming. But even to an experienced OO programmer like myself with many years of experience with C++, Java; I still cannot fully understand the strange objective-C method declaration and calling syntax after reading the section.. not to mention topics like memory management is not mentioned at all.
I have to stop after reading the section, and find a real Objective-C book with C++/Java programmers in mind.