Reputation: 2153
can @protocol extend @protocol ?
@protocol Prot1 : Prot2
@end
like in java:
public interface Interface1 extends Interface2 {
}
Upvotes: 11
Views: 1864
Reputation: 523214
Yes, but with the syntax
@protocol Prot1 <Prot2, Prot3, Prot4>
@end
Upvotes: 25