Mac OS X Reference Library Apple Developer
Search

AnimatedTableView

Last Revision:
Version 1.0, 2009-05-29
Cocoa sample code demonstrating a custom NSTableView subclass, custom cells, and animations.
Build Requirements:
Mac OS X v10.6 or later
Runtime Requirements:
Mac OS X v10.6 or later

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.




Last updated: 2009-05-29

Did this document help you? Yes It's good, but... Not helpful...