In the following example testString is declared as an object of String which is a struct. But we are able to assign as a object using AnyObject. How the struct to object conversion is happening in swift?
let testString:String = "Hello World"
let testObject:AnyObject = testString
print("My test object\(testObject)") // this works!