NSStringFromSelector(_cmd); // Objective-C print(__FUNCTION__) // Swift 2 print(#function) // Swift 3__FILE__, __LINE__, __COLUMN__ and __FUNCTION__ => #file, #line, #column and #function
__FILE__
__LINE__
__COLUMN__
__FUNCTION__ => #file, #line, #column and #function
#file
#line
#column
#function