can @protocol extend @protoco开发者_如何转开发l ?
@protocol Prot1 : Prot2
@end
like in java:
public interface Interface1 extends Interface2 {
}
Yes, but with the syntax
@protocol Prot1 <Prot2, Prot3, Prot4>
@end
can @protocol extend @protoco开发者_如何转开发l ?
@protocol Prot1 : Prot2
@end
like in java:
public interface Interface1 extends Interface2 {
}
Yes, but with the syntax
@protocol Prot1 <Prot2, Prot3, Prot4>
@end
精彩评论