• 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: Two TreeControllers, one ArrayController and the ContentSet binding...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Two TreeControllers, one ArrayController and the ContentSet binding...
      • From: Kam Dahin <email@hidden>
References: 
 >Two TreeControllers, one ArrayController and the ContentSet binding... (From: Kam Dahin <email@hidden>)

  • Prev by Date: Re: CoreVideo to pixel level data (speed path problems)
  • Next by Date: Re: Two TreeControllers, one ArrayController and the ContentSet binding...
  • Previous by thread: Two TreeControllers, one ArrayController and the ContentSet binding...
  • Next by thread: Re: Two TreeControllers, one ArrayController and the ContentSet binding...
  • Index(es):
    • Date
    • Thread