• 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: Not documented: NSArray responds to -allObjects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not documented: NSArray responds to -allObjects


  • Subject: Re: Not documented: NSArray responds to -allObjects
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 25 Oct 2013 12:06:57 -0700

On 2013 Oct 24, at 09:18, Andy Lee <email@hidden> wrote:

> Might be worth filing a Radar requesting that method be made official published API like it is for the other collection classes…

Well, I did a document feedback, but not on NSArray.  Instead I suggested adding text like the following to the Discussion of -respondsToSelector: in the "NSObject Protocol Reference":

"Also, be careful not to infer from the result of this message that the receiver is or is not of a certain class.  Your code, included libraries, or undocumented methods in Cocoa may implement the subject slector in unexpected classes.  For example, in recent versions of Mac OS X, Cocoa silently implements -allObjects in NSArray.”


_______________________________________________

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


References: 
 >Not documented: NSArray responds to -allObjects (From: Jerry Krinock <email@hidden>)
 >Re: Not documented: NSArray responds to -allObjects (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: NSTableview row-based, not redrawing on 10.9
  • Next by Date: Re: NSTableview row-based, not redrawing on 10.9
  • Previous by thread: Re: Not documented: NSArray responds to -allObjects
  • Next by thread: Re: Not documented: NSArray responds to -allObjects
  • Index(es):
    • Date
    • Thread