[swift-evolution] SR-104: Improve Crash-Safety when Importing Objective-C Code Without Nullability Attributes

Michael Buckley michael at buckleyisms.com
Tue Dec 8 14:51:20 CST 2015


On Tue, Dec 8, 2015 at 12:45 PM, Brent Royal-Gordon <brent at architechies.com>
wrote:

> > It may not be possible or economical for those projects to get updated
> versions of those frameworks with nullability attributes.
>
> Objective-C nullability attributes don’t affect their binary
> compatibility, though, right? As long as Swift’s bridging behavior is
> *safe*, anyone can fix them being *inconvenient* by editing the headers in
> the crappy old frameworks they’re using.
>

In an ideal world, absolutely. In the business world, that's contingent on
what contracts have been signed. Some commercial frameworks require that
customers not edit any part of the framework, including headers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151208/13a4191f/attachment.html>


More information about the swift-evolution mailing list