Skip to content

Instantly share code, notes, and snippets.

@mmower
Created July 23, 2008 21:56
Show Gist options
  • Save mmower/1911 to your computer and use it in GitHub Desktop.
Save mmower/1911 to your computer and use it in GitHub Desktop.
// Define a category on NSObject for our delegate methods
@interface NSObject (ELLayerViewDelegate)
- (void)hexSelected:(ELLayerView *) column:(int)col row:(int)row;
@end
if( [delegate respondsToSelector:@selector(hexSelected:column:row:)] ) {
[delegate hexSelected:self column:selectedCol row:selectedRow];
}
/Users/matt/Projects/LucidMac/Elysium/src/ELLayerView.m:113: warning: no '-hexSelected:column:row:' method found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment