• 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
Adding multiple window functionality; advice, please.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding multiple window functionality; advice, please.


  • Subject: Adding multiple window functionality; advice, please.
  • From: Matt Judy <email@hidden>
  • Date: Fri, 04 Jan 2002 15:52:00 -0800

Hi!

I posted this a while back but recieved no response, so I'll rephrase.

I have a single window app that features an NSTableView and an NSImageView, grouped in an NSSplitView. The NSTableView displays a catalog of images, and the NSImageView displays the currently selected image. It looks a lot like Mail.app (sans drawer), and works very well.

In the never-ending and naturally driven quest to add more functionality to a Cocoa app, I'm trying to implement a feature where the user can open a new window to display the currently selected image. You can have as many of these individual "Viewer" windows as you want.

I've created an NSWindowController subclass, and I'm displaying new viewer windows by creating instances of it (and adding them to an array). The windows appear, but I can't seem to make the image load in the imageView, and outlets don't seem to be connected...

Often, when I'm having trouble it's because I've overlooked an obvious, simpler implementation. Perhaps this is the case...

Any advice?

Thanks (again) in advance,
--Matt Judy


  • Follow-Ups:
    • Hotkeys in Cocoa?
      • From: "R. Eranki" <email@hidden>
    • Re: Adding multiple window functionality; advice, please.
      • From: John Nestor <email@hidden>
  • Prev by Date: Re: Newbie question on NSControl
  • Next by Date: Re: DO and authentication
  • Previous by thread: Re: Newbie question on NSControl
  • Next by thread: Re: Adding multiple window functionality; advice, please.
  • Index(es):
    • Date
    • Thread