• 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: To-Many/To-Many Master/Detail Core Data / Bindings Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: To-Many/To-Many Master/Detail Core Data / Bindings Question


  • Subject: Re: To-Many/To-Many Master/Detail Core Data / Bindings Question
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 28 Dec 2009 16:14:19 -0800

On Dec 28, 2009, at 15:32, Hunter Hillegas wrote:

> My question is if I can do this all with bindings. The table of accounts works fine. What I can't seem to figure out is how to limit the 'Items' in the second NSTableView to just be the ones associated with the selected account, using bindings.

If I understand your question correctly, the usual way is to bind the detail NSArrayController's content via the master NSArrayController's "selection" property. See:

	http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaBindings/Tasks/masterdetail.html


_______________________________________________

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: To-Many/To-Many Master/Detail Core Data / Bindings Question
      • From: Hunter Hillegas <email@hidden>
References: 
 >To-Many/To-Many Master/Detail Core Data / Bindings Question (From: Hunter Hillegas <email@hidden>)

  • Prev by Date: Re: Updating tracking areas Rect
  • Next by Date: Re: To-Many/To-Many Master/Detail Core Data / Bindings Question
  • Previous by thread: To-Many/To-Many Master/Detail Core Data / Bindings Question
  • Next by thread: Re: To-Many/To-Many Master/Detail Core Data / Bindings Question
  • Index(es):
    • Date
    • Thread