Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Hour 17. Working with Images > Displaying Collections of Images

Displaying Collections of Images

Now that you’re familiar with some of the techniques for loading images, and you know where to go to find more, you may be wondering how you can display those images in a user interface.

Up to this point, we’ve seen many ways for displaying images in the UI when you know ahead of time which images you’re going to display, such as displaying icons from embedded bundle resources or Apple stock images.

What if you want to display a list of thumbnails of images that might be specified by the user at runtime? Fortunately, there’s an extremely handy control available to Mac OS X developers—the Image Kit Image Browser, also known by its class name as the IKImageBrowserView.

Using the image browser view requires us to create one or more classes that implement the browser view’s data source and delegate protocols. By now the concept of delegates and protocols should be somewhat familiar to you.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint