[swift-evolution] [swift-evolution-announce] [Review] SE-0125: Remove NonObjectiveCBase and isUniquelyReferenced

Andrew Trick atrick at apple.com
Wed Jul 20 14:46:49 CDT 2016


> On Jul 20, 2016, at 12:44 PM, Dave Abrahams <dabrahams at apple.com> wrote:
> 
>> “isKnownUniquelyReferenced” would be fine with a warning in the doc
>> comment that it may always return false for objc objects.
> 
> That's a better name.  
> 
> P.S. It's conceivable that someday we could correctly detect uniqueness
> in (a subset of) ObjC types.

Since we’re renaming this API, it’s a good time to drop the guarantee that it will return false for NonObjC.

-Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160720/2917bd62/attachment.html>


More information about the swift-evolution mailing list