On 03/11/2009, at 1:13 PM, Richard Somers wrote:

Why does NSObjectController have a -selectedObjects method?

I thought NSObjectController worked with a single object.


Probably because it's the base class for all the other kinds of controllers that deal with multiple objects. The docs suggest the array returned will contain only one object, but passing it in an array provides a consistent interface.

--Graham


_______________________________________________

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

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

Reply via email to