• 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
NSArray represented in 2 different views at same time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSArray represented in 2 different views at same time
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Changing key behaviors for NSTableView
  • Next by Date: Re: Shell tool with GUI
  • Previous by thread: Re: Sheet opens but not attached to window
  • Next by thread: Re: NSArray represented in 2 different views at same time
  • Index(es):
    • Date
    • Thread