Re: Two TreeControllers, one ArrayController and the ContentSet binding...
Re: Two TreeControllers, one ArrayController and the ContentSet binding...
- Subject: Re: Two TreeControllers, one ArrayController and the ContentSet binding...
- From: Scott Stevenson <email@hidden>
- Date: Mon, 16 Oct 2006 17:10:09 -0700
On Oct 16, 2006, at 4:34 PM, Kam Dahin wrote:
What I am trying to do is have the content of the ArrayController
change based on the selected node in the TreeControllers. This
isn't a problem with one TreeController, but since I have two, I am
running into trouble and I was hoping someone could help me out.
My initial idea was to use an NSMutableSet in my main controller
class and then have the selection of the node load the data I need
into the MutableSet.
That might work. Another option is to have two table views and two
array controllers, and only one table view is visible to the user at
any one time.
Without knowing the whole app design, it's hard to say which approach
is cleaner.
Since I am using CoreData, I figure there must be a way to ask the
ManagedObjectContext for the information I need when the selection
changes
What information do you want to ask for?
- Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden