• 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: NSMatrix mouse puzzle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSMatrix mouse puzzle (From: "D.K. Johnston" <email@hidden>)
 >Re: NSMatrix mouse puzzle (From: Graham Cox <email@hidden>)
 >Re: NSMatrix mouse puzzle (From: "D.K. Johnston" <email@hidden>)

  • Prev by Date: NSPanel: resigning key focus?
  • Next by Date: Re: NSPanel: resigning key focus?
  • Previous by thread: Re: NSMatrix mouse puzzle
  • Next by thread: clipView's boundsSize changes after scrollToPoint:
  • Index(es):
    • Date
    • Thread