Can't open specified type in NSOpenPanel
Can't open specified type in NSOpenPanel
- Subject: Can't open specified type in NSOpenPanel
- From: Randall Meadows <email@hidden>
- Date: Mon, 23 Feb 2004 12:01:03 -0500
Given the snippet of code:
NSOpenPanel *panel = [NSOpenPanel openPanel];
if (panel) {
[panel setCanChooseDirectories:NO];
[panel setCanChooseFiles:YES];
[panel setAllowsMultipleSelection:NO];
[panel setDelegate:self];
[panel beginSheetForDirectory:nil file:nil types:[NSArray
arrayWithObjects:@"asdf", nil] modalForWindow:setupWdw
modalDelegate:self
didEndSelector:@selector(openPanelDidEnd:returnCode:contextInfo:)
contextInfo:nil];
}
why are my files with an HFS type of "asdf" (no extension) NOT
selectable in an Open panel?
_______________________________________________
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.