Re: NSMatrix mouse puzzle
Re: NSMatrix mouse puzzle
- Subject: Re: NSMatrix mouse puzzle
- From: Graham Cox <email@hidden>
- Date: Thu, 4 Sep 2008 20:31:30 +1000
On 4 Sep 2008, at 4:14 pm, D.K. Johnston wrote:
The reason I want a delay is that the user is supposed to have 10
seconds only to look at the data displayed in the matrix. Then it's
cleared. (It's a memory test, to prevent drunks from starting a
computer.)
I was looking at NSTimer, but it seemed simpler to do what I did.
I'll look again.
NSTimer is ideal for this - just set it to have a value of 10 seconds
and not to repeat. In the callback, re-enable the matrix.
cheers, Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden