• 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 plist fileTypes for NSOpenPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using plist fileTypes for NSOpenPanel


  • Subject: Re: using plist fileTypes for NSOpenPanel
  • From: Allan Odgaard <email@hidden>
  • Date: Thu, 21 Oct 2004 03:03:23 +0200

On 19. Oct 2004, at 7:56, justin webster wrote:

how do I get the file types specified in the plist as an array I can use when creating an NSopenPanel?

I'm using this code:
NSDictionary* info = [[NSBundle mainBundle] infoDictionary];
NSArray* textFileTypes = [info valueForKeyPath: @"email@hiddendleTypeExtensions"];

Regards Allan
--
http://macromates.com/ ::: TextMate, OS X text editor
http://macromates.com/sigpipe/ ::: Personal weblog about programming

_______________________________________________
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
References: 
 >using plist fileTypes for NSOpenPanel (From: justin webster <email@hidden>)

  • Prev by Date: Fwd: GNUstep on Windows, "desktop" bundles...
  • Next by Date: [ANN] TextMate 1.0.1
  • Previous by thread: using plist fileTypes for NSOpenPanel
  • Next by thread: [QUESTION] How to autosize images in buttons ?
  • Index(es):
    • Date
    • Thread