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

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


References: 
 >NSObjectController -selectedObjects (From: Richard Somers <email@hidden>)

  • Prev by Date: NSObjectController -selectedObjects
  • Next by Date: CAAnimation retains its delegate
  • Previous by thread: NSObjectController -selectedObjects
  • Next by thread: CAAnimation retains its delegate
  • Index(es):
    • Date
    • Thread