ClockControl

Last Revision:
Version 1.0, 2009-05-26
Demonstrates how to create a custom control.
Build Requirements:
Xcode 3.2 or later, Mac OS X v10.6 or later
Runtime Requirements:
Mac OS X v10.6 or later

This sample demonstrate how to create a custom control. It creates a clock control, which is implemented as a subclass of NSControl and NSCell, ClockControl, and ClockCell, respectively. Most of the work is done in the cell. This sample demonstrates the use of this cell in a NSMatrix, NSTableView, and its native control, ClockControl.