I am using the following syntax to debug my Objective C code, getting the class name. What is the equivalent in SWIFT?
NSlog (@"Classe = %@",[self class]);
I am using the following syntax to debug my Objective C code, getting the class name. What is the equivalent in SWIFT?
NSlog (@"Classe = %@",[self class]);
You can use print("Class = \(type(of: self))"
in Swift.