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 <b...@zygoat.ca> 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 (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 arch...@mail-archive.com