Terry starts by explaining what widgets are, how they work, what they’re good for (and not good for). Next, he tears open one of Apple’s example widgets, showing how it’s built from multiple source and image files, and how those files are bundled into something executable.
You’ll explore Apple’s tools for creating, assembling, and testing widgets (along with some third-party alternatives); then walk through building your first simple widget. Terry then introduces a series of techniques for providing user interaction. You’ll master widget events; flesh out your interface; add cut, copy and paste (and drag/drop too, if you like). Throughout, Terry utilizes Wrox’s effective “Try It Out” format: whenever he introduces a new element or technique, he follows up immediately with step-by-step instructions for applying it in an example.
The heart of the book is its projects section: six chapter-length projects, plus a batch of shorter ones. Among the highlights: a handy envelope printing widget, a “secure copy” function, and a widget that’ll search a leading music site for album art, then import the art into selected iTunes tracks. Bill Camarda, from the August 2006 Read Only