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

Document Types


  • Subject: Document Types
  • From: Seth Willits <email@hidden>
  • Date: Tue, 6 Apr 2004 10:53:23 -0700

In a nutshell, my program should be able to open any text file. The application will ship with a bunch of language files which will contain default file extensions and such (need them for something else anyway), and the users can change these files or add more, but I don't want the user to have to define a file extension before they can use the program.

For example, I just created a file "Untitled.bob" and SubEthaEdit can open it wonderfully. In fact, it can open ANY file, just like BBEdit. How do you do that? I would have figured that the old "????" would have worked or even an empty string, but neither did.

Another related question is, if I want to add a view to the open and save dialogs for my documents, what method do I implement? Surely I don't need to completely override the opening and saving of documents, do I?



Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames

"Information is free. Intelligence is a gift."
------------------------------------------------------------------------ ---
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Document Types
      • From: Mark Munz <email@hidden>
  • Prev by Date: Re: Scrolling Back Terminal Window
  • Next by Date: Re: Itunes structure (off-topic)
  • Previous by thread: Re: static sqlite
  • Next by thread: Re: Document Types
  • Index(es):
    • Date
    • Thread