Comment by woadwarrior01
6 years ago
(myObject as! SomeProtocol).someMethod()
The `objc_msgSend()` call you're observing in this case is likely a call to `NSObject::confirmsToProtocol`[1], are you absolutely certain that NSObject is not involved anywhere in your class hierarchy?
[1]: https://developer.apple.com/documentation/objectivec/nsobjec...
No comments yet
Contribute on Hacker News ↗