[swift-evolution] [Draft] Allow declaration of abstract functions and properties on classes

Daniel Duan daniel at duan.org
Thu Feb 25 19:48:59 CST 2016


Thorsten Seitz via swift-evolution <swift-evolution at ...> writes:


>  Modeling that collection as abstract property
> I can then subclass both kinds of traversal easily fixing the type of the
> collection statically.

This "collection" seems like a case where a protocol serves equally well.




More information about the swift-evolution mailing list