Re: Design question, which controller class to use
Re: Design question, which controller class to use
- Subject: Re: Design question, which controller class to use
- From: Ken Thomases <email@hidden>
- Date: Mon, 21 Jul 2008 14:18:46 -0500
On Jul 20, 2008, at 10:24 PM, Jens Alfke wrote:
On 20 Jul '08, at 8:05 PM, James W. Walker wrote:
Since there is a window (which has a title that depends on the
data) I thought I should use a subclass of NSWindowController. On
the other hand, there is an array being displayed in a table, and
I gather that's easier to set up using bindings if I use an
NSArrayController. Any suggestions or references?
Those are two very different types of controllers, and you should
probably use both.
Just to add to that: Apple's terminology for these different types
are "coordinating controller" and "mediating controller". You should
do a full-text documentation search for those terms and read the
discussion you find there. It will help you understand the concepts.
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