[quote=“FastJag”]Thanks for the suggestions. I appreciate that anyone starting “from scratch” with Xcode 4.2 and with only this edition, should be fine.[/quote]You’re certainly welcome; however…
[quote=“FastJag”]- The problem is with those of us who have been long-term users of Xcode since the start. We won’t have “clean” settings. Furthermore, those of us trying to switch from Edition 3 to Edition 4 will have to readjust. I’m not complaining about this - just flagging it. I think it would have helped greatly if the Preface had emphasized the differences between editions more, and if at the start of each new project there was a bit more explanation of the build settings required:-
- It should be possible to pick up a book and follow the example, and have that work. This is not necessarily the case with Chapters 19 and 20 (since not all of your readers will be starting completely from scratch with a “clean” Xcode 4.2 system).
Given that the authors are clearly trying to bundle as many new technologies into this edition as possible, they do need to emphasise these a little stronger.[/quote]IMHO this book requires that you read the entire book. Skipping sections because you feel you understand Objective-C, Cocoa, or Xcode or if you have already read previous editions will cause you problems. I direct your attention to page 4 paragraph 2 and the beginning of the very first project on pages 12 & 13. You may not have skipped sections, but clearly you failed to grasp the points indicated by the references I point out here.
Your suggestion that folks upgrading would not start with clean settings is specious, I started my trek into OS X programming just this past summer (coming from the PC world), starting with Xcode 3.2 and fighting the upgrade to 4.0. Since even Apple’s sample programs were being adapted to the newer Xcode I realize I would have to follow suit. I started with 4.1 and moved to 4.2 when it became available and avoided using ARC; although I wanted to move to it, I was having a hard time understanding the concept. This book and Aaron’s “Objective-C Programming: The Big Nerd Ranch Guide” were the first two books out covering Objective-C & Cocoa using Xcode 4.2 and ARC specifically and that is the reason I bought both of them.
Since I did read this book from the front to where I am now (moving into Chap. 28) and I didn’t seem to experience the problem that you did, I clearly understood that you missed an important concept. All I attempted to do was give you the easy solution to fix your current problem, use it or not. It makes no difference to me, but since you are the one who had the problem and came to this forum for help, it would seem to me that you would take the solution as presented. Trying to shift the blame for your error onto the authors says more about you than anything you missed in the book.