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

Discussion in 'iOS Programming' started by pflau, Oct 8, 2010.

  1. macrumors 6502

    Joined:
    Sep 17, 2007
    #1
    This does not compile..

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

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    What is the NSObject for? Does this compile?

    Code:
    interface Child : Parent <someprotocol>
    
     

Share This Page