• 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: one window with two documents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: one window with two documents


  • Subject: Re: one window with two documents
  • From: Patrick Meirmans <email@hidden>
  • Date: Sat, 7 Jan 2006 12:24:41 -0500

On the cocoadev website there is a page that may be helpful, though it is possibly not exactly what you are looking for:

http://www.cocoadev.com/index.pl? DocumentBasedAppWithOneWindowForAllDocuments

Patrick

On 7 Jan, 2006, at 11:23, Koen van der Drift wrote:

Hi,

For my app I would like to share a window for two related document files (eg the .m and .h files of a ObjC class). They are supposed to be displayed in two different NSTextViews in the same window. If the user wants to open a different set of files, a new window should open.

I started with the standard Cocoa document application, with MyDocument containing two NSString ivars and two IBOutlets for the NSTextViews. However I don't think this will work since as far as I can see there can only be one file associated with an NSDocument.

Any suggestions how I can approach this?

thanks,

- Koen.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ 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
References: 
 >one window with two documents (From: Koen van der Drift <email@hidden>)

  • Prev by Date: Re: Getting the results out of Applescript
  • Next by Date: Re: Getting the results out of Applescript
  • Previous by thread: Re: one window with two documents
  • Next by thread: Do trigger change keys also propagate to inverse relationships?
  • Index(es):
    • Date
    • Thread