484Printing Selectors in NSLog
Using NSStringFromSelector to convert the selectos into a NSString, and the print the object:
NSLog(@"%@", NSStringFromSelector(selector) );
Or print it directly with good, old-fashioned C:
NSLog(@"%s", selector,);
Using NSStringFromSelector to convert the selectos into a NSString, and the print the object:
NSLog(@"%@", NSStringFromSelector(selector) );
Or print it directly with good, old-fashioned C:
NSLog(@"%s", selector,);
[self performSelectorInBackground:@selector(method) withObject:nil];
& wrap method in autorelease pool.
maybe also of interest:
http://code.google.com/p/plactorkit/ Dictated but not read.