You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be nice to have conversions to superclasses in collection types that use lightweight generics, i.e. some way to turn NSArray<NSView> into NSArray<NSResponder>, or even NSArray<NSObject>.
It'd be nice to have conversions to superclasses in collection types that use lightweight generics, i.e. some way to turn
NSArray<NSView>
intoNSArray<NSResponder>
, or evenNSArray<NSObject>
.Note that this is only valid for
__covariant
immutable generic types, e.g.NSArray
, but notNSMutableArray
(see also this video from WWDC2015, timestamp around 23:40).Related to #518 and might require a trait like in #271.
The text was updated successfully, but these errors were encountered: