[swift] How do you find out the type of an object (in Swift)?