Wednesday, 7 August 2013

Expected Identifier with NSTimer

Expected Identifier with NSTimer

I have a block of code that calls an NSTimer from a singleton class. this
is Viewcontroller.m
-(IBAction) start
{
[[[ApplicationManager instance].ticker [[NSTimer
scheduledTimerWithTimeInterval:1.0 target:self
selector:@selector(showActivity) userInfo:nil repeats:YES]];
I have an error that says: Expected identifier Can anyone see why? or
where i can add something to fix it? Thanks

No comments:

Post a Comment