• 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
Re: Using file types in Document Based Applications...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Using file types in Document Based Applications...
      • From: Carlos Weber <email@hidden>
References: 
 >Using file types in Document Based Applications... (From: "Joshua D. Orr" <email@hidden>)

  • Prev by Date: Re: Communicate with pipe and AuthorizationExecuteWithPrivileges
  • Next by Date: Undo in NSTextField?
  • Previous by thread: Using file types in Document Based Applications...
  • Next by thread: Re: Using file types in Document Based Applications...
  • Index(es):
    • Date
    • Thread