In this chapter, you are going to add photos to the Homepwner application. You will present a UIImagePickerController so that the user can take and save a picture of each item. The image will then be associated with a BNRItem instance and viewable in the item’s detail view.
Figure 11.1 Homepwner with camera addition
Images tend to be very large, so it is a good idea to store images separately from other data. Thus, in this chapter, you are going to create a second store for images. BNRImageStore will fetch and cache images as they are needed. It will also be able to flush the cache when memory runs low.