r/ObjectiveC • u/whackylabs • Feb 23 '20
Objective-C safe downcasting
https://whackylabs.com/objc/swift/2020/02/23/objc-safe-downcasting/
5
Upvotes
r/ObjectiveC • u/whackylabs • Feb 23 '20
View all comments
Show parent comment
2
u/[deleted] Feb 23 '20
You don’t have to “crash”
That is just what the default message handler does.
You can override it to do something else.
Also something I miss in Swift