Re: one window with two documents
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