Clock Control

Last Revision:
Version 1.0, 2003-02-25
Demonstrates creating a custom control by creating a clock control, implemented as a subclass of NSControl and NSCell.
Build Requirements:
Project Builder 2.1 and up
Runtime Requirements:
Mac OS X Mac OS X 10.2.x

In this sample we demonstrate how to create a custom control by creating a clock control. The clock control is implemented as a subclass of NSControl and NSCell, ClockControl and ClockCell respectively. Most of the work is done in the cell. Because the cell handles all of the work, we are able to demonstrate use of this cell in a NSMatrix, NSTableView, and it's native control, ClockControl. Requirements: Mac OS X 10.2.x, Project Builder 2.1 and up Keywords: nscell nscontrol clock cocoa