Re: Creating nib files for multi-nib apps
Re: Creating nib files for multi-nib apps
- Subject: Re: Creating nib files for multi-nib apps
- From: Ondra Cada <email@hidden>
- Date: Mon, 20 Aug 2001 15:50:03 +0200
Sam,
>
>>>>> Sam Goldman (SG) wrote at Mon, 20 Aug 2001 06:33:54 -0700:
SG> Lets say I wanted to make a multi-nib application:
SG>
SG> 1) in project builder - do I select document based cocoa application, or
SG> is that only if i want to open multiple instances of the same window?
More properly, you should use NSDocument suite (ie. a document-based app) if
and only if your application is a viewer/editor for documents. That's the
whole mystery ;)
A document is a self-contained piece of data, represented by a file or
folder, and similar in features and general behaviour to other documents,
represented by other files/folders.
SG> 2) either way, what type of new window do I select in interface builder
SG> to create a new nib file with and only with what the app needs.
This quiestion alas I don't understand... what is it "type of window"? If
NSWindow vs. NSPanel, then you select windows for documents, and panels for
auxiliary information/services.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc