• 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: Seth Willits <email@hidden>
  • Date: Tue, 6 Apr 2004 12:35:19 -0700

On Apr 6, 2004, at 12:19 PM, Mark Munz wrote:

Take a look at the TextEdit project (/Developer/Examples/AppKit) and look at the properties associated with text files. The basics of it:

Yup. Figured that one out (thanks to Kevin) by looking at SubEthaEdit's info.plist.


That's a quick summary. You can get different bits of how this works from the TextEdit code, but TextEdit is not NSDocument-based, so you'll have to likely adapt the code accordingly.

Thanks Mark. I'll look at that.




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

"If God did not exist, it would be necessary to invent Him."
-- Voltaire
------------------------------------------------------------------------ ---
_______________________________________________
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.


References: 
 >Document Types (From: Seth Willits <email@hidden>)
 >Re: Document Types (From: Mark Munz <email@hidden>)

  • Prev by Date: Re: Using NSSmallCapsFontMask?
  • Next by Date: [little OT] Licensing/Implementing in Cocoa/Obj-C
  • Previous by thread: Re: Document Types
  • Next by thread: Adding menus to Dock items
  • Index(es):
    • Date
    • Thread