swift打印方法名文件路径

1、打印方法名

print(#function)

1、打印文件路径

print(#file)

原文地址:https://www.cnblogs.com/yang-shuai/p/7339598.html