|
Loading... Cocoa programming for Mac OS Xby Aaron Hillegass
LibraryThing recommendationsMember recommendationsLoading...
won't like
will probably not like
will probably like
will like
will love Sign up for LibraryThing to find out whether you'll like this book. Awesome introduction to Cocoa. However, I don't recommend you start with this if you don't know anything at all. Life may be easier if you learn some semblance of Objective-C first (super simple and should take a day to be familiar with basics if you already know another language, either through Apple docs, a little of Kochan's Objective-C book or some other similar resource), then tackle this book, since Hillegass doesn't explain much about the language and "Cocoa Programming..." is very literally mostly about Cocoa. Very example-based, may become a little annoying if it isn't fast-paced enough for you. If you are in need of more than an introduction, Hillegass can be good for brushing up a little (and maybe learning more...like on core animation), but you're going to find the Apple docs to be more useful. Good tutorial style introduction to Cocoa, Objective-C, XCode and Mac programming. It seems likely that this is a book version of one of Big Nerd Ranch's Cocoa classes, as the book is very focussed on hands on examples. A lot of the chapters are of the form "now do this..." as you follow the instructions and end up with an application by the end of the chapter, hopefully understanding what you did along the way. It's not so useful as a reference book, but hopefully the online documentation covers that aspect. It doesn't go into anything into a lot of depth, this is really an easy to follow tutorial, with lots of pictures, aimed at newbies. 0.030 seconds to build listing
Amazon.com (ISBN 0201726831, Paperback)Suitable for anyone with a little C/C++ programming experience who wants to create software for the newest Mac platform, Cocoa Programming for Max OS X provides a slickly packaged and approachable tutorial that will get you started creating state-of-the-art Mac programs.The smart presentation style and easy-to-understood code examples help make this text an excellent resource. (It also helps that Aaron Hillegass is a truly engaging writer.) He first explains how the legacy NeXTSTEP platform has evolved into Cocoa on the Mac OS X. Beginning with short examples illustrating the actual Cocoa tools in action, the author gets you started with simple programs for a random-number generator, a raise calculator, and other comprehensible examples. Rather than just listing APIs and classes, the emphasis is on hands-on Cocoa development. An early standout section provides a nice tour of essential Objective-C features you'll need to know to use Cocoa effectively. This book covers the several dozen built-in Cocoa controls, from basic text and buttons to more advanced widgets (including lists and tables). Subsequent sections look at user interface design (using the Interface Builder to create nib files) and how to add programmatic processing behind the visual layout. Along the way, the author introduces coverage of essential Cocoa APIs for strings, arrays, and dictionaries. Later chapters look at saving and loading documents (and user defaults) and how to tap the powerful graphics abilities available in Cocoa. (Besides image and basic drawing, there are short sections on PDF support and printing.) More advanced user interface features get their due by the end of the book, including cutting and pasting data through the Cocoa pasteboard and also adding drag-and-drop support. Final sections look at creating new controls for use with the Interface Builder palette, and, briefly, how to use Java with Cocoa (an option that the author doesn't necessarily recommend). Throughout this text, the author provides more advanced, challenging problems at the end of each chapter for the "more curious" reader. This approach keeps beginners from getting lost in the details of Cocoa development, but gives the more advanced reader something more to do. While there are comparably fewer books on Mac OS X compared to other platforms, readers are lucky to have this one available. Anyone who wants to get onboard with Cocoa development will be well served by this title. It's a fine tutorial that earns high marks for its approachable, clear examples and an excellent presentation by an author who knows his stuff and, better yet, knows how to teach it to others. --Richard Dragan Topics covered: Brief history of the Mac platform (from NeXTSTEP to Mac OS X), basic Cocoa development in Objective-C, using Project Builder and Interface Builder tools, tutorial to Objective-C (instances, variables, using classes, arrays and other containers, custom classes), the Objective-C debugger, basic Cocoa controls (building user interfaces), tables and data sources, event handling and delegates, archiving documents (encoding and decoding, saving and loading documents), Nib files, window panels, saving and retrieving user defaults (including using dictionary classes), notifications (observers and more on delegates), alert panels, localization (including string tables, a English and French example, the nibtool utility), custom views and drawing, drawing images and mouse events (plus coordinates systems and autoscrolling views), responders and keyboard events, fonts and strings (including attributed strings and PDF support), pasteboards and nil-targeted actions, using Objective-C categories (a code reuse feature), drag-and-drop support, timers, sheets and drawers, formatting strings, printing support, on-the-fly menu updating, text editing with text views, basic tutorial for using Java with Cocoa, and custom Interface Builder palettes (and inspectors). (retrieved from Amazon Fri, 24 Apr 2009 07:58:19 -0400) The first test round has been closed. Visit the Open Shelves Classification group for details. |
Abebooks |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The book's examples are a little bit different sometimes, than the latest XCode Tools. (