신속한 xcode 매크로 정의 ifdef 디버그

-디버그

 

 코드에서

        #if DEBUG
        print("[\((#file as NSString).lastPathComponent):\(#function)]")
        #endif

Guess you like

Origin blog.csdn.net/linzhiji/article/details/130404349