[swift-evolution] Remove Failable Initializers
james at supmenow.com
Mon Mar 7 12:54:24 CST 2016
So we could try to bridge `init?` from objective-c so they become `init()
throws` but perhaps a less disruptive solution is to only allow `init?` for
swift classes that inherit from @objc ? I can't see how it is possible to
let `init throw` bridge back to objective-c cleanly.
I have updated my proposal to explore both of these options.
*James⎥Head of Trolls*
*james at supmenow.com <james at supmenow.com>⎥supmenow.com <http://supmenow.com>*
*Runway East *
*10 Finsbury Square*
* EC2A 1AF *
On Mon, Mar 7, 2016 at 6:25 PM, Chris Lattner <clattner at apple.com> wrote:
> On Mar 7, 2016, at 7:40 AM, James Campbell via swift-evolution <
> swift-evolution at swift.org> wrote:
> This is my draft proposal.
> Let me know your thoughts.
> Please expand your proposal to include a description of the how importing
> ObjC types to Swift works.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution