iphone中的_cmd关键字
Every method call also passes two hidden arguments: an id named self and a SEL named _cmd .
You can use NSStringFromSelector to convert the method selector to an NSString:
NSStringFromSelector(_cmd);
iphone中的_cmd关键字
Every method call also passes two hidden arguments: an id named self and a SEL named _cmd .
You can use NSStringFromSelector to convert the method selector to an NSString:
NSStringFromSelector(_cmd);