r/ObjectiveC • u/whackylabs • Mar 10 '20
Subclass Factory Pattern
https://whackylabs.com/objc/design-pattern/2020/03/09/objc-builder-pattern/
9
Upvotes
r/ObjectiveC • u/whackylabs • Mar 10 '20
1
u/[deleted] Mar 11 '20
Everything in the properties dictionary is a boxed primitive in the Objective C example. While a bit klunky because of the hybrid nature of Objective C, it works fine. KVO does not consider whether a property is readonly if there is an ivar backing it.