• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multiple Inheritance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple Inheritance


  • Subject: Re: Multiple Inheritance
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Thu, 24 May 2012 18:15:01 +0700

On 24 May 2012, at 17:37, Graham Cox wrote:

> Turn it into two separate protocols instead, and adopt whichever protocols are needed in the concrete implementations. Or if one protocol is a superset of the other, a protocol can extend another.

I thought that a protocol only declares methods and properties.

How do I avoid duplicating method implementations using a protocol?

Kind regards,

Gerriet.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Multiple Inheritance
      • From: Jens Alfke <email@hidden>
References: 
 >Multiple Inheritance (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Multiple Inheritance (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: stringWithFormat / Rendering Text (iOS)
  • Next by Date: Re: Transforming UIImage (rotate, translate, scale) and then crop to constant size
  • Previous by thread: Re: Multiple Inheritance
  • Next by thread: Re: Multiple Inheritance
  • Index(es):
    • Date
    • Thread