• 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
What is contentObject used for?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What is contentObject used for?


  • Subject: What is contentObject used for?
  • From: Bob Ueland <email@hidden>
  • Date: Sun, 7 Oct 2007 07:31:46 -0700 (PDT)

In ADC doc "Cocoa Bindings Programming Topics" I'm reading



"NSObjectController exposes a single binding for content called contentObject. You can establish a binding from contentObject to any object that is key-value-coding and key-value-observing compliant for the keys that you intend to have the controller operate on."






I have previously used the content outlet to establish a connection between NSObjectController and its object. Is contentObject an alternative way to do the same thing or is it used for something else? In what situation would you use the  content outlet and when would you use contentObject?




Bob






      ____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7

_______________________________________________

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

  • Follow-Ups:
    • Re: What is contentObject used for?
      • From: mmalc crawford <email@hidden>
  • Prev by Date: Getting Object Bound To
  • Next by Date: Re: What is contentObject used for?
  • Previous by thread: Re: Getting Object Bound To
  • Next by thread: Re: What is contentObject used for?
  • Index(es):
    • Date
    • Thread