objective c - I found waring of this type. Instance method '-tableViewNavigateBackward:' not found (return type defaults to 'id')? -


i new in mac development. found warning. declare @interface in .m file

@interface nsobject (ckbrowsertableviewdelegateextensions) - (void)tableviewnavigatebackward:(nstableview *)tableview; @end 

and @implement in same file like.

- (void)tableviewnavigatebackward:(nstableview *)tableview {     unsigned column = [self columnwithtable:tableview];     if (column > 0)     {         nstableview *previous = [mycolumns objectatindex:column - 1];         [[self window] makefirstresponder:previous];          if ([previous target] && [previous action])         {             [[previous target] performselector:[previous action] withobject:previous];         }          [self scrollrecttovisible:[[previous enclosingscrollview] frame]];     } } 

but when used method in method

if ([[self delegate] respondstoselector:@selector(tableviewnavigatebackward:)]) {     [[self delegate] tableviewnavigatebackward:self]; } 

i found warning. confusion how solve this. please me.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -