• 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: Document Types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document Types


  • Subject: Re: Document Types
  • From: John Warner <email@hidden>
  • Date: Fri, 27 May 2005 08:24:50 -0400


On May 27, 2005, at 2:14 AM, Seth Willits wrote:

The way I got the application to accept any file drop was to add another document type to the plist, which simply had "*" for the extension and "****" for the OS type. That works, except when I use NSDocumentController to open a specified file (which is a supporting RTF document and not my main document), it opens with that "fake" document instead of the rtf class I have.

I believe you can just move the RTF type ahead of the generic type in the plist. (Or is it already?) The first match for a file is the one that will be used.


-John
_______________________________________________
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


  • Follow-Ups:
    • Re: Document Types
      • From: Seth Willits <email@hidden>
References: 
 >Document Types (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: Cocoa bindings one- or bi-directional
  • Next by Date: Thanks for the advice
  • Previous by thread: Document Types
  • Next by thread: Re: Document Types
  • Index(es):
    • Date
    • Thread