I get this warning when I call a local procedure.
My code is:
-(void)nextLetter { // NSLog(@"%s", __FUNCTION__); currentLetter ++; if(currentLetter > (letters.count - 1)) { currentLetter = 0; } self.fetchLetter; }
I get a warning in the self.fetchLetter statement.
This procedure is as follows:
- (void)fetchLetter { // NSLog(@"%s", __FUNCTION__); NSString *wantedLetter = [[letters objectAtIndex: currentLetter] objectForKey: @"langLetter"]; NSString *wantedUpperCase = [[letters objectAtIndex: currentLetter] objectForKey: @"upperCase"]; ..... }
I prefer to correct warning messages, is there a better way to write this?
Thank!
objective-c xcode warnings
David DelMonte Mar 17 '11 at 23:55 2011-03-17 23:55
source share