NSArray represented in 2 different views at same time
NSArray represented in 2 different views at same time
- Subject: NSArray represented in 2 different views at same time
- From: Alexander Cohen <email@hidden>
- Date: Mon, 08 Dec 2008 11:58:15 -0500
Hi,
I've got a list of objects in an NSArray and i'm currently managing
them with an NSArrayController and a view that is binded to it. Now i
need to be able to show that same view in a new window with the same
content but with possibly different selections and sort descriptors. I
also need to update the content display in both views when an item is
added or removed. I guess the closest approach i can think of is
iTunes when you double click an item in its source list and it opens
up a new window with the same content.
My question is how should I approach this. Should i have an array
controller for each view and have them notify each other of changes?
Does anyone have any experience with this sort of workflow and if so,
how did you manage all of this.
thx
AC
_______________________________________________
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