3 ms·
(myObject as! SomeProtocol).someMethod() The `objc_msgSend()` call you're observing in this case is likely a call to `NSObject::confirmsToProtocol`[1], are
by woadwarrior01 7y 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/nsobject/1418893-conformstoprotocol https://developer.apple.com/documentation/objectivec/nsobjec...