• 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
Creating and associating my own file extension based on plist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating and associating my own file extension based on plist


  • Subject: Creating and associating my own file extension based on plist
  • From: Ignacio Enriquez <email@hidden>
  • Date: Thu, 30 Sep 2010 13:11:25 +0900

Hi
This is basically a duplicate of this thread:
but the more eyes the better I thought so here is my question:

My iPad application handles with files of type *.mndl which is not
more than a customized *.plist. Up until now I've been using *.plist
files but now I want to associate the extension and be able to open
*.mndl files from any other app I have realized that renaming
file.plist to file.mndl does not work. (Hence, I don't even know if I
did correctly the extension association and exportation thing)

I sent to myself a file file.mndl from the computer and when received
in mail.app I got file.mndl.plist (It was automatically renamed and my
guess is because of its header)

How can I create my own *.mndl files while being able to read its
content using +dictionaryWithContentsOfFile: of NSDictionary class?

Even I am working with iOS I believe this kind of things were ported
from MacOS and Cocoa. So Cocoa developers could also know about this.

Thanks in advance

Ignacio.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Interface showing wrong values
  • Next by Date: Re: Interface showing wrong values
  • Previous by thread: Re: Interface showing wrong values
  • Next by thread: Should I use NSDocument, NSUserDefaults or something else
  • Index(es):
    • Date
    • Thread