• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Subclassing NSControl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Subclassing NSControl (From: Lorenzo <email@hidden>)

  • Prev by Date: OpenGL -a success story and a question
  • Next by Date: NSPasteboard and MS Word
  • Previous by thread: Re: Subclassing NSControl
  • Next by thread: Unable to set popUp menu for NSButtonCells.
  • Index(es):
    • Date
    • Thread