I know there is protocol_copyMethodDescriptionList defined in the Objective-C Runtime, but I don’t want to have to go so deep, or work with c-arrays. Are there any methods for the Protocol object that can do this? Where can I find any documentation for the Protocol object? I’m hoping for something like:
[foo getMethodsThisProtocolDefines];
where foo is a Protocol.
You probably want this. Objective-C wrapper for the Objective-C runtime.