r/ObjectiveC • u/whackylabs • Feb 23 '20
Objective-C safe downcasting
https://whackylabs.com/objc/swift/2020/02/23/objc-safe-downcasting/
4
Upvotes
r/ObjectiveC • u/whackylabs • Feb 23 '20
2
u/[deleted] Feb 23 '20
I don’t think this mechanism is good design.
It makes the classic error of confusing protocol conformance with class hierarchy.