Re: [swift-evolution] Partial class declaration

2016-12-12 Thread Jay Abbott via swift-evolution
I agree that partial classes would be a handy way to help split up an implementation, and perhaps also of assistance if you want really tight/clean access control within a class, using fileprivate. But this does not replace the need for stored properties in extensions. For example (I have done thi

[swift-evolution] Partial class declaration

2016-12-10 Thread Andrey Volodin via swift-evolution
There is a lot of talk about stored properties in extensions. But do we really need them? Instead I think we can introduce something like partial classes from C#. It is an often case our classes go hell of a big and we have to move some methods to dedicated extensions to increase readability. I