Version: 1.0

Posted: 2009-05-29

Build Requirements: Mac OS X v10.6 or later

Runtime Requirements: Mac OS X v10.6 or later

View Source Code:

Download Sample Code (“AnimatedTableView.zip”, 246.1K)



Description

This example demonstrates some advanced concepts and features in NSTableView and NSBrowser. The application loads images from a specific directory and displays them in a custom NSTableView subclass on the left side. The Table View displays a list of cells that display an desktop background image along with a fill color that can be edited with a custom pop-up color editor. While images are loading, an animated progress indicator is added to the Table View. A basic NSImageView displays the selected image on the right side of the window, which can then be set as the desktop wallpaper via a button click. Double clicking on the large Image View will bring up a customized NSBrowser that allows modifying the image through a series of CoreImage filters.

Document Revision History

Date Notes
2009-05-29Cocoa sample code demonstrating a custom NSTableView subclass, custom cells, and animations.