• 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
Why use NSObjectController?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why use NSObjectController?


  • Subject: Why use NSObjectController?
  • From: Seth Willits <email@hidden>
  • Date: Sun, 10 Aug 2008 20:23:30 -0700



This is something I still don't quite understand: Why should I bind to an NSObjectController bound to an object, instead of just binding to the object itself? Say for instance that I bind the values of a bunch of controls to [File's Owner].value1, [File's Owner].value2, [File's Owner].value3.... Should I be using an NSObjectController bound to File's Owner, and then bind the controls to the object controller? If so, why?

What if I instead bound the controls to [File's Owner].someObj.value1, [File's Owner].someObj.value2, [File's Owner].someObj.value3, etc.? Malcolm briefly alludes to created an NSObjectController bound to [File's Owner].someObj and then binding the controls to [Object Controller].value[N] instead. Why would I do this though? Simply for brevity?

What is it that NSObjectController offers me?


Thanks!

--
Seth Willits




_______________________________________________

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: Why use NSObjectController?
      • From: mmalc crawford <email@hidden>
    • Re: Why use NSObjectController?
      • From: Graham Perks <email@hidden>
  • Prev by Date: Re: Core Data versioning woes
  • Next by Date: Re: Core Data question
  • Previous by thread: handling errors from NSNumberFormatter - how to determine exact nature of the error?
  • Next by thread: Re: Why use NSObjectController?
  • Index(es):
    • Date
    • Thread