I am trying to make a dictionary store a map of delegates that match the protocol. I need some consistent key representing the protocol.
For example, the following gives me a protocol object
Protocol * one = @protocol(SomeProtocolDefinedEarlier);
And it responds to [one hash] , but the hash is not the same every time you get a protocol object for the same protocol. Is there a name message or something that I can use to identify it?
source share