http://josephdepqbvoq7tm7uvynwmsji4354zmd3yp3rrtc245rilvq4ixayd.onion/posts/partial-in-swift
Some may choose to update Partial to be a class, but I prefer to provide a small wrapper in the form of a class with a single partial property and a convenient function for PartialConvertible values. It could be subclassed or extended to support per-type convenience functions, a delegate, a completion closure, etc. class PartialBuilder < Wrapped > { var partial : Partial < Wrapped > init ( partial : Partial < Wrapped > = Partial < Wrapped > ( ) ) { self . partial = partial } init (...