[swift-evolution] [Proposal] [Discussion] Explicit Toll-Free Conversions

Slava Pestov spestov at apple.com
Thu Mar 23 00:38:07 CDT 2017


> On Mar 22, 2017, at 10:35 PM, Robert Widmann via swift-evolution <swift-evolution at swift.org> wrote:
> 
> This introduces a source-breaking change that affects consumers of APIs that are explicitly taking or vending instances of bridged CF or Objective-C types. However, recent importer advances have made APIs like this far less numerous. In practice, we expect the source breakage to eludicate places where implicit conversions were accidentally being performed behind the user's back.
> 

I thought CF APIs were still imported as taking and returning CFArray, etc, without automatic bridging to Swift collections. Is this no longer the case?

Slava

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170322/e68b7b90/attachment.html>


More information about the swift-evolution mailing list