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
Post a Comment