Created
October 14, 2012 15:50
-
-
Save gertig/3888982 to your computer and use it in GitHub Desktop.
Untitled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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