Objective-C method not being called

Posted by Matt S. on Stack Overflow See other posts from Stack Overflow or by Matt S.
Published on 2010-03-19T02:12:56Z Indexed on 2010/03/19 2:21 UTC
Read the original article Hit count: 284

Filed under:
|
|

It's either because of the fact I'm tired or because I'm doing it wrong, but for some reason I can't get it to call a method.

Here's what I'm trying to call:

-(void)newHighScore:(int)d

Which right now just does an NSLog saying "yea I'm working!"

I'm calling it like this:

[highscore newHighScore:score];

highscore is what I called the HighScore class in the .h, and score is an int with the score.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone-sdk