Hi there, I am new on board. I have a little little problem. I succeeded in creating the application as they did it the tutorial but now my app seems to have a problem with linking the things...
/Location/Classes/../MainView.m:16: warning: 'NSTimer' may not respond to '+scheduledTimerWithTimeInterval::target:selector: userInfo:repeats:'
Hi there, I am new on board. I have a little little problem. I succeeded in creating the application as they did it the tutorial but now my app seems to have a problem with linking the things...
/Location/Classes/../MainView.m:16: warning: 'NSTimer' may not respond to '+scheduledTimerWithTimeInterval::target:selector: userInfo:repeats:'
You simply had a typo. The error told you the _exact_ problem, as there is no +scheduledTimerWithTimerInterval::target:self:sele ctor:userInfo:repeats: method. The extra : in there should throw a red flag.
Thanks a lot for your help Brian. This is much appreciated!
However, I have another little problem. The code now seems to be fine. Only when I debug the app, I get a black screen... I might have something linked in wrong way, .xib-file..
Thanks a lot for your help Brian. This is much appreciated!
However, I have another little problem. The code now seems to be fine. Only when I debug the app, I get a black screen... I might have something linked in wrong way, .xib-file..
Any idea what to do?
You are right... it is probably something wrong in the .xib. Try a clean and then build. See if you have any warnings. Usually Xcode is pretty good about letting you know if something is messed up. *usually*... other than that, maybe put some NSLog(@"I am at ... in my code."); in every function and see if it is stopping somewhere. Good luck.