Suppose I have a class Foo which declares a delegate protocol with 3 methods. I would like to subclass Foo into a class called Bar and completely override these methods.
Should I declare them in the subclass header again?
When I implement these 3 methods inside of Bar‘s delegate, do I have to take any precautions to make sure Foo‘s implementation will not be used?
That won’t be necessary, as your
Bar.hwill importFoo.hand therefore know it conforms that protocol.The only precaution you need to take is to not call
[super delegateMethod];on your implementations, and you’re good to go.