// // Initable.swift // VDS // // Created by Matt Bruce on 7/28/22. // import Foundation public protocol Initable { init() } extension Withable where Self:Initable { /// Construct a new instance, setting an arbitrary subset of properties public init(with closure: (inout Self) -> Void) { self.init() closure(&self) } }