You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
respondsToSelector is just a thin veil on class_respondsToSelector so this would be more the objc runtime's domain than Foundation. However is it the case that the protocol would have to have some decorator to be exposed as objc for this to work?
Right, methods in protocol extensions are not exposed to Objective-C, ever. It's a little unfortunate that we don't have a way to manually do that from the class, though; if you redeclare the method you can't use the default implementation.