Skip to content

Instantly share code, notes, and snippets.

@b-adams
Created February 12, 2012 20:53
Show Gist options
  • Save b-adams/1810802 to your computer and use it in GitHub Desktop.
Save b-adams/1810802 to your computer and use it in GitHub Desktop.
Smart stub notification
// TODO: Implement method
#warning Method still a stub
-(double) congratulate:(NSString*)whom manyTimes:(int)n
{
NSLog(@"\n\tStatus=<%@> Class=<%@> Selector=<%@>", @"Stub", NSStringFromClass([self class]), NSStringFromSelector(_cmd));
return NAN;
}
// TODO: Implement method
#warning Method still a stub
-(NSString*) barbaricYawp
{
NSLog(@"\n\tStatus=<%@> Class=<%@> Selector=<%@>", @"Stub", NSStringFromClass([self class]), NSStringFromSelector(_cmd));
return nil;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment