标签:
NSStringFromSelector(_cmd); // Objective-C
print(__FUNCTION__) // Swift 2
print(#function) // Swift 3
__FILE__
, __LINE__
, __COLUMN__
and __FUNCTION__ => #file
, #line
, #column
and #function
Swift #function <= _cmd (Objective-C)
标签:
原文地址:http://www.cnblogs.com/ficow/p/5798780.html