Swift #function 和 _cmd (Objective-C)





NSStringFromSelector(_cmd); // Objective-C print(__FUNCTION__) // Swift 2 print(#function) // Swift 3



__FILE____LINE____COLUMN__ and __FUNCTION__ => #file#line#column and #function




原文地址:https://www.cnblogs.com/ficow/p/5798780.html