I examined that question: How do I print the type or class of a variable in Swift?
But still i cant find answer, how to output class of object in Swift?
In Obj-C that was simple - [myClass class];
but in swift i can't understand how to do that.
For example, consider following:
let coordinates = (x: 3, y: 2, z: 5)
print(type(of: coordinates))
That output:"(Int, Int, Int)\n"
But i dont want to know what is inside, i want to know class name of coordinates! What is that? Tuple, an array or dictionary?
Can someone provide code snippet to explain that? Thanks!