• 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: Sensible way to extend base class?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sensible way to extend base class?


  • Subject: Re: Sensible way to extend base class?
  • From: Graham Cox <email@hidden>
  • Date: Wed, 20 May 2009 22:56:02 +1000


On 20/05/2009, at 10:49 PM, Roland King wrote:

subclass AA off A, add your ivars there and sub B, C and D off AA instead?


Ah, I should have made it clearer that all of A, B C and D are in the framework, and the additional functionality belongs to an app which includes the framework. The class relationships between A and B, C, D are already established in the framework and can't be changed. Adding the app functionality to the framework doesn't make sense, as the additional code is very esoteric while the framework is general purpose.

--Graham


_______________________________________________

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: Sensible way to extend base class?
      • From: Jerry Krinock <email@hidden>
References: 
 >Sensible way to extend base class? (From: Graham Cox <email@hidden>)
 >Re: Sensible way to extend base class? (From: Roland King <email@hidden>)

  • Prev by Date: Re: Sensible way to extend base class?
  • Next by Date: Re: Sensible way to extend base class?
  • Previous by thread: Re: Sensible way to extend base class?
  • Next by thread: Re: Sensible way to extend base class?
  • Index(es):
    • Date
    • Thread