Re: NSObjectController -selectedObjects
Re: NSObjectController -selectedObjects
- Subject: Re: NSObjectController -selectedObjects
- From: Graham Cox <email@hidden>
- Date: Tue, 3 Nov 2009 13:19:58 +1100
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 (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