Re: Subclassing NSControl
Re: Subclassing NSControl
- Subject: Re: Subclassing NSControl
- From: Scott Anguish <email@hidden>
- Date: Wed, 14 May 2003 23:40:57 -0400
The code in question is at
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.
http://developer.apple.com/samplecode/Sample_Code/Cocoa/
Clock_Control.htm
BTW.. a couple other new code examples recently
FunkyOverlayWindow
This Cocoa sample shows how to do several different things with windows
and Cocoa widgets, by providing a floating "overlay" window interface
with a "selection...
http://developer.apple.com/samplecode/Sample_Code/Cocoa/
FunkyOverlayWindow.htm
Rubik's Cube
This application models a Rubik's Cube using Cocoa and OpenGL.
http://developer.apple.com/samplecode/Sample_Code/Graphics_3D/
CubePuzzle.htm
On Wednesday, May 14, 2003, at 08:31 AM, Lorenzo wrote:
I saw somewhere that clock control. I am going to look for it again.
Thank you. Very helpful.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.