Here’s a quick example. Perhaps, before trying to decipher the grey code boxes, scroll down a bit to this section:
- The protocol specification is quite simple. it is basically @protocol ProtocolName (methods you must implement) @end.
- To conform to a protocol, you put the protocols you’re conforming to in <>’s, and comma separate them. Example: @interface SomeClass <Protocol1, Protocol2, Protocol3>