Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The Monster ID project consists of a collection of body part art that can be compiled together to form random pictures. It was developed by Andreas Gohr, and was inspired by a Web post by Don Park and the combinatoric critters. Built up by adding predrawn arms, legs, a body, and so forth, the resulting composite image produces a full creature.
The randomImage method in Recipe 17-7 builds a monster image from its components. This art can be assigned directly to an Address Book contact or can be used as the seed for a new contact using the unknown person controller. Either way, you can use an ABContact instance and assign an image using its image property. If you’re not using an AddressBookUI controller, don’t forget to save the Address Book after updating a record’s image.