Re: 'NSTimer' may not respond to '+scheduledTimerWithTimeInterval:target:selector:userinfo:repeats:'
Re: 'NSTimer' may not respond to '+scheduledTimerWithTimeInterval:target:selector:userinfo:repeats:'
- Subject: Re: 'NSTimer' may not respond to '+scheduledTimerWithTimeInterval:target:selector:userinfo:repeats:'
- From: Dix Lorenz <email@hidden>
- Date: Wed, 14 Jul 2010 19:20:33 +0200
> compiler warns me that 'NSTimer' may not respond to '+scheduledTimerWithTimeInterval:target:selector:userinfo:repeats:'
The correct call is
+ (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)seconds target:(id)targetselector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)repeats
Note the "userInfo" instead of "userinfo" :-)
Dix
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden