3 ms·
Funny you should mention that. Quoting Apple's own docs: > Objective-C lightweight generics are ignored by Swift. Any other types using lightweight generics ar
by _frog 11y ago
Funny you should mention that. Quoting Apple's own docs:
> Objective-C lightweight generics are ignored by Swift. Any other types using lightweight generics are imported into Swift as if they were unparameterized.[1]
So it doesn't look like the goal here is Swift interop.
[1]: Excerpt from Using Swift with Cocoa and Objective-C (Swift 2 Prerelease) https://itunes.apple.com/us/book/using-swift-cocoa-objective/id1002624212?mt=11 https://itunes.apple.com/us/book/using-swift-cocoa-objective...
- pjmlp 11y agoFrom the talks today it seems Swift interoperability was indeed the purpose.