A collection of handy code snippets in the languages that I use on a daily basis.
NSLog(@"object type = %@", [[myObject class] className]);
NSLog(@"object type = %@", [[myObject class] description]);
if( [[myArray objectAtIndex:i] isKindOfClass:NSClassFromString(@"MyCustomClass")] ) { NSLog(@"it's a MyCustomClass"); }
Great....!
Great....!
ReplyDelete