Answers for "swift print struct name"

0

swift print struct name

// Swift 5
print("Name of struct instance type> \(type(of: structInstance.self))")
print("Name of struct type> \(StructType.self)")
Posted by: Guest on March-20-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language