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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to