Re: NSTimer May not to scheduledtimerWithInterval
Re: NSTimer May not to scheduledtimerWithInterval
- Subject: Re: NSTimer May not to scheduledtimerWithInterval
- From: "Shawn Erickson" <email@hidden>
- Date: Fri, 16 Feb 2007 09:03:30 -0800
On 2/16/07, Daniel Bruchez <email@hidden> wrote:
Hi:
I'm new to Xcode and was trying to add a Timer Event to my application. I
get the following warning when I tried add this code to my application:
warning:"NSTimer may not respond to
'+scheduledTimerWithInterval:target:selector:userInfo:repeats:'
Messages without a matching method signature will be assumed to return'id'
and accept'...' as arguments.)
Here's a snip of my code-->>
//Create Timer
scantimer = [ [NSTimer scheduledTimerWithInterval:1.0
You have the wrong method name at the start, you have...
scheduledTimerWithInterval:
... should be ...
scheduledTimerWithTimeInterval:
-Shawn
_______________________________________________
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