I'm not sure the title is clear. I want to make a convenient method that works like the NSLog method and concatenates the lines below?
This is what I have at the moment:
NSString *out = [NSString stringWithFormat:@"something %d,%d",1,2];
[self showLog:out];
What would a similar method look like in a definition?
- (void) showLog:(NSString *) data;
thank
source
share