• 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: NSTimer and touch events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTimer and touch events


  • Subject: Re: NSTimer and touch events
  • From: "Eric E. Dolecki" <email@hidden>
  • Date: Tue, 10 Jan 2012 16:03:26 -0500

Haha. Thanks for catching that!!!


  Google Voice: (508) 656-0622
  Twitter: eric_dolecki      XBoxLive: edolecki      PSN: eric_dolecki
  http://blog.ericd.net



On Tue, Jan 10, 2012 at 3:11 PM, Ben Kennedy <email@hidden> wrote:

> On 10 Jan 2012, at 12:03 pm, Eric E. Dolecki wrote:
>
> >    screenTimer = [NSTimer timerWithTimeInterval:2 target:self selector:
> > @selector(turnOffScreen:) userInfo:nil repeats:NO];
>
> You need scheduledTimerWithTimeInterval:... (as opposed to just
> timerWithTimeInterval:...), in order for the timer to actually get posted.
>  The same oversight had me scratching my head for 15 minutes a few weeks
> ago.
>
> b
>
> --
> Ben Kennedy, chief magician
> Zygoat Creative Technical Services
> http://www.zygoat.ca
>
>
_______________________________________________

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: 
 >NSTimer and touch events (From: "Eric E. Dolecki" <email@hidden>)
 >Re: NSTimer and touch events (From: Ben Kennedy <email@hidden>)

  • Prev by Date: Respecting tabs across applications
  • Next by Date: Re: Respecting tabs across applications
  • Previous by thread: Re: NSTimer and touch events
  • Next by thread: Respecting tabs across applications
  • Index(es):
    • Date
    • Thread