[swift-evolution] SR-104: Improve Crash-Safety when Importing Objective-C Code Without Nullability Attributes
Fabian Ehrentraud
Fabian.Ehrentraud at willhaben.at
Sat Dec 12 07:28:47 CST 2015
>
> On 12.12.2015, at 02:15, Andrey Tarantsov via swift-evolution <swift-evolution at swift.org> wrote:
>
>> (The other major feature that uses IUOs is two-phase initialization, like IBOutlets. I don't think we have an answer for that yet either.)
>
> Other examples include stuff created in viewDidLoad of a view controller, and fields initialized in the second phase.
>
> I love IUOs, I think they should stay in the interest of ! non-proliferation.
Willingly placed IUOs would stay untouched by this proposal. Only the ones generated by missing nullability annotations in Objective-C code would be translated to Optionals.
>
> A.
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
More information about the swift-evolution
mailing list