Skip to content

Instantly share code, notes, and snippets.

@gertig
Created October 14, 2012 15:50
Show Gist options
  • Save gertig/3888982 to your computer and use it in GitHub Desktop.
Save gertig/3888982 to your computer and use it in GitHub Desktop.
Untitled
// Find the class of an object
const char* classNameChar = class_getName([viewObject class]);
NSString *className = [NSString stringWithFormat:@"%s", classNameChar];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment