'(NSObject, AnyObject)' is not convertible to 'String'
问题 How do I convert an object of type (NSObject, AnyObject) to the type String ? At the end of the first line of the method below, as String causes the compiler error: '(NSObject, AnyObject)' is not convertible to 'String' Casting street to NSString instead of String compiles, but I'm casting street to String because I want to compare it to placemark.name , which has the type String! , not NSString . I know name and street are optionals, but I'm assuming they're not nil for now because all the