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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to