On 2013 Oct 24, at 09:18, Andy Lee <ag...@mac.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to