1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Can an interface BOTH inherit from another interface AND implement a protocol?

Discussion in 'iPhone/iPad Programming' started by pflau, Oct 8, 2010.

  1. macrumors 6502

    #1
    This does not compile..

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

    robbieduncan

    Staff Member

    #2
    What is the NSObject for? Does this compile?

    Code:
    interface Child : Parent <someprotocol>
    
     

Share This Page