Version: 1.1

Posted: 2005-10-04

Build Requirements: Xcode

Runtime Requirements: Mac OS X

View Source Code:

Download Sample (“ComboBoxPrefs.zip”, 50.3K)
Download Sample (“ComboBoxPrefs.dmg”, 111.0K)



Description

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.

Document Revision History

Date Notes
2005-10-04Updated to produce a universal binary. No code changes were required.
2005-05-05Use CFPrefs to store URLs to images for use in a browser style combo box.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.