Re: Simple Clock?
Re: Simple Clock?
- Subject: Re: Simple Clock?
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 7 Jul 2003 15:38:45 +0200
On lundi, juil 7, 2003, at 15:03 Europe/Paris, (s) Peter Laurens wrote:
Hi,
I'd like to create an exceptionally simple clock in cocoa.
But I don't know how to write a timer yet that would update a text
field with the current system time every second... for that matter,
neither do I know how to retrieve the current system time.
Any help appreciated,
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
ObjC_classic/Classes/NSTimer.html#//apple_ref/occ/cl/NSTimer
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
ObjC_classic/Classes/NSDate.html#//apple_ref/occ/cl/NSDate
And to have a better clock output:
http://developer.apple.com/samplecode/Sample_Code/Cocoa/
Clock_Control.htm
_______________________________________________
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.