How to get the class of an anyObject type in Swift?
In Objective-C we can get it like so :
id obj = [obj class]
The equivalent of [obj class] in SWIFT is :
obj.dynamicType