I’m probably making a dumb mistake here, but I’ve been staring at my code and can’t figure out what the problem is. I have a method defined in the @interface of my ViewController .h file as such:
- (void) displaySubviewPopup:(PopupView *)currentPopup forTimerID:(int)timerID;
Then in my .m file I implement the method as such:
- (void) displaySubviewPopup:(PopupView *)currentPopup forTimerID:(int)timerID {
...method implemented here...
}
And then elsewhere in my code I’m calling the method as such:
[self displaySubviewPopup:currentPopup fortimerID:timerID];
But for some weird reason I’m getting the ol’ “May not respond to…” compiler warning “warning: ‘SwimTimerViewController’ may not respond to ‘-displaySubviewPopup:fortimerID:'”
I’m probably missing something simple here, but like I said, I’ve been staring at my code and my brain is starting to fizzle trying to figure out what I overlooked here. It seems like my method implementation is correct…
Any ideas? I can post more code if need be, but that’s the gist of it.
Thanks!
Really easy answer for clean eyes, happens really often though.
Just change your capitalization:
Hope it helps!