> On Mar 23, 2017, at 6:41 AM, Slava Pestov via swift-evolution 
> <swift-evolution@swift.org> wrote:
> 
> 
>> On Mar 22, 2017, at 10:35 PM, Robert Widmann via swift-evolution 
>> <swift-evolution@swift.org <mailto:swift-evolution@swift.org>> wrote:
>> 
>> Alternatives considered
>> 
>> Do nothing and continue to accept this implicit conversion.
> 
> One alternative would be to import CFArray as a typealias for NSArray, etc, 
> erasing the distinction between the two types completely. I did suggest this 
> to Jordan at one point and he pointed out some problems, but I don’t remember 
> them now. Hopefully Jordan can chime in.

With CFArray you can create a non-retaining array without creating a 
weak-wrapper for each object. While it's a less likely scenario, I've used in 
the past (until I created a weak array to be used in Swift).


> 
> Slava
> _______________________________________________
> swift-evolution mailing list
> swift-evolution@swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to