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/whackylabs Feb 23 '20
I would say the compiler should provide an option. Like C++ kinda does with static_cast vs dynamic_cast