Re: Swift binding of NSEnumerator subclasses
Re: Swift binding of NSEnumerator subclasses
- Subject: Re: Swift binding of NSEnumerator subclasses
- From: Quincey Morris <email@hidden>
- Date: Thu, 25 Feb 2016 15:43:56 -0800
- Feedback-id: 167118m:167118agrif8a:167118s2Q4-kCAu7:SMTPCORP
On Feb 25, 2016, at 15:36 , Jens Alfke <email@hidden> 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:
"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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden