I need a way to pass a property and get the name assigned to it. Any suggestions?
@property (nonatomic, retain) MyObject *crazyObject;
NSString *str = SOME_WAY_TO_GET_PROPERTY_NAME(crazyObject);
// Above method should return @"crazyObject"
See Question&Answers more detail:os