My question is theoretical. In obj-c if a class implements a protocol:
@interface Class:NSObject<protocol>
And a second class inherits from the first:
@interface Class2:Class
Does Class2 implement the protocol? I want to create an interface with more than one implementation. I'm doing it by defining a father class that implements a protocol that includes all the methods that should be implemented. So I want that a programmer subclassing the father class receives a warning if the subclass doesn't implement all the methods the protocol dictates. By the way, if it matters to the response I will implement a abstract factory for the objects creation.
I read some post to do with abstract classes but I don't find the answer to my question, but other suggestions about the implementation will be well received.