Re: Using file types in Document Based Applications...
Re: Using file types in Document Based Applications...
- Subject: Re: Using file types in Document Based Applications...
- From: Clyde McQueen <email@hidden>
- Date: Mon, 25 Jun 2001 19:53:10 -0700
On Saturday, June 23, 2001, at 11:35 PM, Joshua D. Orr wrote:
I am trying to figure out how to make the open dialog in my document
based
app let you open files based on there file type (not the extension). I
think I have to change the target settings, but I am not sure how. Can
anyone help?
Well, the easy way is to change the target settings to use a file
extension of 'TYPE', but I just tried it on a dummy project and it
doesn't work. The AppKit apparently isn't set up to support that.
So, it looks like you'll have to override the open & save functionality
in NSDocument, and perhaps some NSApplication methods as well. Over my
head, I'm afraid.
/Clyde