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

one window with two documents


  • Subject: one window with two documents
  • From: Koen van der Drift <email@hidden>
  • Date: Sat, 7 Jan 2006 11:23:50 -0500

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: one window with two documents
      • From: Patrick Meirmans <email@hidden>
    • Re: one window with two documents
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Re: is this string styled?
  • Next by Date: Re: is this string styled?
  • Previous by thread: Re: is this string styled?
  • Next by thread: Re: one window with two documents
  • Index(es):
    • Date
    • Thread