• 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: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)


  • Subject: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • From: Marcel Weiher <email@hidden>
  • Date: Mon, 7 Jun 2004 17:11:53 +0100

On 7 Jun 2004, at 16:09, Nicko van Someren wrote:
On 7 Jun 2004, at 15:20, Marco Scheurer wrote:
And please let me also point out that NSSet is implemented differentl, i.e. unlike NSDictionary, which at least hows some inconsistency. IMHO NSSet's implementation is "correct".

I think this thread is starting to drag a bit. It's clear that you have an opinion on of how NSDictonary should work which is different from the view held by the designers of that class. Personally, I have never had any problem with this in any practical case. Might I suggest that you simply agree to differ with the NSDictionary designers? Given that this is Objective-C you can always sub-class the dictionary class and fix the behaviour if it really causes you that much trouble.

Nicko: one of the reasons that the current implementation is broken is that it *cannot* be fixed easily by subclassing!

Whereas the copying behavior *can* be added to a non-copying implementation via subclassing.

That was one of the original points I made.

It would really help if people would (a) read and (b) understand what was written before responding.

Cheers,

Marcel

--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
1d480c25f397c4786386135f8e8938e4
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
      • From: Nicko van Someren <email@hidden>
References: 
 >Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!) (From: Patrick Machielse <email@hidden>)
 >Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!) (From: Marco Scheurer <email@hidden>)
 >Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!) (From: Nicko van Someren <email@hidden>)

  • Prev by Date: Re: itunes style expanding text field
  • Next by Date: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Previous by thread: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Next by thread: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Index(es):
    • Date
    • Thread