Re: using plist fileTypes for NSOpenPanel
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