On 3 November 2017 at 21:36, Adam Kemp <adam_k...@apple.com> wrote: > > Your ledger idea might theoretically prevent some of those bad things from > happening, but at the expense of making the whole thing unusable for this > use case. That’s not a good trade off. >
well, this particular one is not impossible with ledger: class View: UIView { part Feature1 // *** default optional part Feature2 // *** the behaviour you describing } or even this (if majority agrees this is a better default): class View: UIView { required part Feature1 // *** opt-in part Feature2 // *** optional, the behaviour you describing } Mike
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution