• 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: archiving report
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: archiving report


  • Subject: Re: archiving report
  • From: Graham Cox <email@hidden>
  • Date: Wed, 27 Feb 2013 11:20:51 +1100

On 27/02/2013, at 5:56 AM, Gerriet M. Denkmann <email@hidden> wrote:

> I have filed the $null bug. Got back as duplicate with a very low id-number. Meaning: this bug is known to Apple since several years. Still no fix.


Frustrating for sure, but in this particular case, I wonder whether there even is a fix that would remain forward and backward compatible.

It sounds like the design was signed off either without considering that case, or considering it and assuming it was of vanishingly low probability. I would hesitate to suggest it, but if you are routinely storing NSNull (or @"$null") in arrays, it might point to a flaw in your own design. I find using NSSet is often a much better choice than an NSArray because it only stores unique instances, and this frequently avoids the need to store NSNulls. Converting that to an array if ordering is important can often be done on the fly.

--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: archiving report
      • From: Ben Kennedy <email@hidden>
    • Re: archiving report
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >archiving report (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: archiving report (From: Gwynne Raskind <email@hidden>)
 >Re: archiving report (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: archiving report
  • Next by Date: Re: NSScrollView and autolayout
  • Previous by thread: Re: archiving report
  • Next by thread: Re: archiving report
  • Index(es):
    • Date
    • Thread