discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nsdocument class


From: M. Uli Kusterer
Subject: Re: nsdocument class
Date: Fri, 15 Oct 2004 14:09:48 +0200
User-agent: MT-NewsWatcher/3.4 (PPC Mac OS X)

In article <mailman.1006.1096791062.2017.discuss-gnustep@gnu.org>,
 Jeff Teunissen <deek@d2dc.net> wrote:

> > Does that translate to texteditor running when i double click a text
> > file?
> 
> TextEdit does not use the NSDocument classes. That is why it can open any
> file, while text editors using NSDocument can't.

 Actually, even apps using NSDocument should be able to open *any* file.  
It's just that the standard code for creating a document in 
NSApplication doesn't support it. Since you provide your own version of 
that code if you don't use NSDocument, you automatically get that 
feature, but there's no reason why you shouldn't be able to override 
that code and provide your own version while still using NSDocument.

Just my $0.02

-- Uli
http://www.zathras.de


reply via email to

[Prev in Thread] Current Thread [Next in Thread]