• 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: Subclass of NSMutableDictionary hanging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclass of NSMutableDictionary hanging


  • Subject: Re: Subclass of NSMutableDictionary hanging
  • From: mmalc crawford <email@hidden>
  • Date: Sat, 3 Mar 2007 21:43:52 -0800


On Mar 3, 2007, at 9:11 PM, Nick Forge wrote:
On 04/03/2007, at 3:53 PM, Jerry Krinock wrote:

Nick, I don't know any more than you do about this, except that if you
search the list archives (cocoabuilder.com), going back five years or so,
you'll see some long threads with people bitching about how Apple maybe
"bent the rules" or "violated object-oriented design axioms" with their
collection classes. I believe the short answer to your first question is
"because NextStep/Apple says so in their documentation" and a slightly
longer answer is "because they compromised strict OO design, probably for
expediency, in designing their collection classes".

The documentation originally quoted makes the issue clear:

	<http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/Co
coaObjects/chapter_3_section_9.html>

"The class cluster architecture involves a trade-off between simplicity [and as discussed earlier in the article, efficiency] and extensibility: Having a few public classes stand in for a multitude of private ones makes it easier to learn and use the classes in a framework but somewhat harder to create subclasses within any of the clusters."

etc.

mmalc

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Re: Subclass of NSMutableDictionary hanging (From: Nick Forge <email@hidden>)

  • Prev by Date: question about custom cursor
  • Next by Date: Calculating the size of NSFont...
  • Previous by thread: Re: Subclass of NSMutableDictionary hanging
  • Next by thread: Re: Subclass of NSMutableDictionary hanging
  • Index(es):
    • Date
    • Thread