• 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: Nicko van Someren <email@hidden>
  • Date: Mon, 7 Jun 2004 16:09:06 +0100

On 7 Jun 2004, at 15:20, Marco Scheurer wrote:

On Jun 7, 2004, at 1:04 PM, Patrick Machielse wrote:

The design bug is in your MyObject class, which creates copies which are not
'equal', not in NSDictionary.

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
_______________________________________________
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: Marcel Weiher <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>)

  • Prev by Date: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Next by Date: Re: Copying files from mounted volumes doesn't work.
  • 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