Re: NSArrayController One-To-Many Question
Re: NSArrayController One-To-Many Question
- Subject: Re: NSArrayController One-To-Many Question
- From: Scott Anguish <email@hidden>
- Date: Thu, 23 Sep 2004 17:15:24 -0400
If I understand correctly what you want to do, you'll want to create a
binding to using the NSArrayController's
contentArrayForMultipleSelection
http://developer.apple.com/documentation/Cocoa/Reference/
CocoaBindingsRef/BindingsText/NSArrayController.html
This binding will provide an alternate array content when multiple
items are selected...
you may also need to look into the Array Operators (See the Key-Value
Coding docs for those)
On Sep 23, 2004, at 9:57 AM, Peter Schmidt wrote:
I have two Model classes (e.g. ClassA and ClassB) in a
one-to-many-relationship, whose contents in two tables are represented
using NSArrayController. Now I want to implement that when selecting
two or more tablerows from ClassA ALL "Subobjects" of ClassB is
displayed. How do I make that?
_______________________________________________
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