• 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: [Newbie] Binding an NSArrayController with/without NSObjectController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Newbie] Binding an NSArrayController with/without NSObjectController


  • Subject: Re: [Newbie] Binding an NSArrayController with/without NSObjectController
  • From: Ken Thomases <email@hidden>
  • Date: Thu, 14 May 2009 22:38:18 -0500

On May 14, 2009, at 6:51 AM, email@hidden wrote:

I would really like to understand the difference in approach between these two methods and also if there are any implications by using or skipping an NSObjectController in between. Would anyone find the time and inclination to explain this to me, please?

In addition to what others have written, there's a section in the documentation that addresses this question directly.


See "Why Are NSControllers Useful?":
http://devworld.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/Concepts/WhatAreBindings.html#/ /apple_ref/doc/uid/20002372-177085


So, it is always a question: should I use a controller to manage a relationship to a model object? The issues discussed in that section help you make that judgment. Since it is a judgment call, there's not really a right answer or a single, specific reason why one developer does it one way and another a different way.

Cheers,
Ken

_______________________________________________

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: 
 >[Newbie] Binding an NSArrayController with/without NSObjectController (From: email@hidden)

  • Prev by Date: Re: NSURLConnection vs. NSThread
  • Next by Date: Re: Class Singleton Instantiation
  • Previous by thread: Re: [Newbie] Binding an NSArrayController with/without NSObjectController
  • Next by thread: Hide/Show Password
  • Index(es):
    • Date
    • Thread