Objective-C Pointer to class that implements a protocol
- by Winder
I have three classes which implement the same protocol, and have the same parent class which doesn't implement the protocol. Normally I would have the protocol as pure virtual functions in the parent class but I couldn't find an Objective-C way to do that.
How can I utilize polymorphism on these subclasses and call the functions implemented in…