`
stephen830
  • 浏览: 2969291 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

iphone中的_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);
 

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics