PDA

View Full Version : Can an interface BOTH inherit from another interface AND implement a protocol?




pflau
Oct 9, 2010, 01:58 AM
This does not compile..

@interface Child : Parent, NSObject<someprotocol>...



robbieduncan
Oct 9, 2010, 03:25 AM
What is the NSObject for? Does this compile?


interface Child : Parent <someprotocol>