The following piece of code refuses to compile because the method: “FollowPlayer” is a class method with class level access. How do I correctly allow NSTimer to call +(void)FollowPlayer?
- (void)awakeFromNib{zombie_size=4; timer=[NSTimer scheduledTimerWithInterval: 1.0 target:self selector:@selector(FollowPlayer) userInfo:nil repeats: NO];}
+ (void)FollowPlayer: NSTimer{}
Hey. Can you check that the method you are calling is
scheduledTimerWithTimeInterval? Your code has it callingscheduledTimerWithInterval… missing theTimepart