Is it possible to allow didSet to be called during initialization in Swift?
Question Apple’s docs specify that: willSet and didSet observers are not called when a property is first initialized. They are only called when the property’s value is set outside of an initialization context. Is it possible to force these to be called during initialization? Why? Let’s say I have this class class SomeClass { var … Read more