Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
Version 1.1, 2005-10-04
Updated to produce a universal binary. No code changes were required.
Mac OS X
ComboBoxPrefs maintains a list of recently accessed pictures within its combo box. It is a chronological list (CFArray) stored via CFPreferences. We also override the standard behavior of the combo box to make it more like an address bar seen in web browsers. When an item from the ComboBox list is double-clicked that item is loaded. ComboBoxPrefs also demonstrates how to create a CGImageRef from a URL pointing to a picture.
© 2005 Apple Computer, Inc. All Rights Reserved. (Last updated: 2005-10-04)