views:

80

answers:

1

can @protocol extend @protocol ?

@protocol Prot1 : Prot2
@end

like in java:

public interface Interface1 extends Interface2 {
}
+8  A: 

Yes, but with the syntax

@protocol Prot1 <Prot2, Prot3, Prot4> 
@end
KennyTM