Re: NSOpenPanel woes/questions
Re: NSOpenPanel woes/questions
- Subject: Re: NSOpenPanel woes/questions
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 24 Jun 2003 08:22:00 +0200
On mardi, juin 24, 2003, at 07:49 AM, David Cairns wrote:
hey all --
does anyone know of a better way to use NSOpenPanel? i'm currently
using
NSOpenPanel *op = [NSOpenPanel openPanel];
[op runModalForTypes:[NSArray arrayWithObjects:@"mov", @"mpg", nil];
however, this only works when a file type ends in the extensions
listed in the NSArray. are there any other methods (or ways of
grabbing files) that i can use.
It depends on what you want to do.
Do you want to filter files on their name or type (i.e.
folder/files/volumes)?
Do you want to filter files on their type?
_______________________________________________
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.