|
32 of 34 people found the following review helpful:
5.0 out of 5 stars
GREAT Book To Learn Cocoa and Objective-C Programming From!, November 29, 2002
I have both this book (Learning Cocoa with Objective-C) and it's predecessor (Learning Cocoa). These are two completely different books. The first book wasn't hardly worth the paper it was printed on, as it was mostly just a thrown together collection of rag-tag tutorials from Apple's web site. Thankfully, this book is NOT the first book!Fast forward to verison II, Learning Cocoa w/ Objective C. This book is great! It covers a whole slew of topics ommitted by the first version. Thankfully the content is NOT the same as before. A tiny bit of it is similar, but for the most part one person took it upon themselves to make sure that all of the material was presented in a consistent manner. By the end of this book you'll walk through all of the steps required to write an application similar to TextEdit (provided with Mac OS X). This application will support Rich Text Formatting, save and open capabilities, spell checking and much much more. You'll be impressed with what you build in this "Learning" book. If you've ever done the REALBasic tutorial you'll find that this creates a very similar application using the Cocoa Framework and Objective-C. All the basics of learning to write MAC OS X applications with Cocoa are covered here. Unlike the first version of this book it doesn't assume you already knew Objective-C or have had exposure to NextStep. If you're looking for a good book to expose you to Cocoa and Objective-C programming buy this book and work through it all. It's worth it! This book will also guide you through using the debugger in Project Builder. You'll learn how to use the debugger print-object command and other useful debugging techniques. This book does more than just point out the fact that the debugger exists. It shows you how to apply it usefully. Another thing I like about this book is the fact that it covers NSString's in more detail than other books of the genre. You'll see examples on how to pull substrings out of NSStrings and use NSRange. You'll also see demonstartions of using NSMutableString as well. Several other books merely mention that NSMutableString exists, but then fail to show what is different between the two. The excersises at the end of each chapter are very helpful in learning Cocoa Programming too! They're not too difficult, but not too simple either. They'll make you dig and think a bit to find a solution, but not so much that you'll want to pull your hair out and give up. AND If you go happen to get stuck you'll find answers revealed in the back of the book. This book is for the most part geared towards Mac OS X 10.2, but I did manage to do all of the examples in 10.1.5 (except with the programming example that made use of the Jaguar's Address Book, of course.) This is a bonus, for some of the earlier Cocoa Programming books do not take into account newer versions of Mac OS X and thus are now a bit out of date. Surprisingly, this book is thicker too, but only because it's now on quality paper. The book actually contains fewer pages (by only a dozen or so) than the original, but Cocoa programming is covered much more thoroughly. There's not much textual fluff or irrelevant screen shots to gobble up pages; --just the right balance of what is needed to cover Cocoa and Objective-C programming for the beginning or semi-intermeddiate programmer. If you already own the first book don't worry about buying this one and receiving repeat material. These two books are not the same animal (even though the dog on the front cover is the same). They are two totally different creatures with internal organs unique to themselves. In fact, after working through the second edition you might find the first edition more useful; --as you will have gained knowledge from the second version to more completely comprehend chapters in the latter part of the frist version. One more note: THANK YOU O'REILLY & ASSOCIATES! You're breathing new life into books for the Macintosh! Be it mac-only books (like this Cocoa Programming book) or just the fact that you include MAC OS X specifics in books like "Managing and Using MySQL (2nd Edition)". Myself and I'm sure many others appreciate it. Thanks!
|