Swift 之打印函数名
2017-11-27 本文已影响0人
willokyes
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
print(#function)
}
deinit {
print(#function)
}
}
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
print(#function)
}
deinit {
print(#function)
}
}