On Feb 25, 2016, at 15:36 , Jens Alfke <[email protected]> wrote:
>
> I have to agree. I wasted a lot of time today trying to get this to work, but
> nothing came of it. I should probably file a bug report.
From the Swift interoperability guide:
https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/InteractingWithObjective-CAPIs.html
<https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/InteractingWithObjective-CAPIs.html>
> "Objective-C declarations of NSArray, NSSet and NSDictionary types using
> lightweight generic parameterization are imported by Swift with information
> about the type of their contents preserved. …
>
> NOTE
>
> Aside from these Foundation collection classes, Objective-C lightweight
> generics are ignored by Swift. Any other types using lightweight generics are
> imported into Swift as if they were unparameterized.”
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com
This email sent to [email protected]