Re: NSTimer and Selector
Re: NSTimer and Selector
- Subject: Re: NSTimer and Selector
- From: Daniel Jalkut <email@hidden>
- Date: Tue, 10 Apr 2007 17:24:06 -0400
scheduledTimerWithTimeInterval is a class method on NSTimer - you're
treating is as an instance method. Take out the "alloc" part of this
equation (and the redundant "add timer:" afterward, while you're at it).
Daniel
On Apr 10, 2007, at 5:18 PM, Andrew James wrote:
NSTimer * lockTimer = [[NSTimer alloc]
scheduledTimerWithTimeInterval:timerPeriod
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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