NSOpenPanel won't allow selecting aliases
NSOpenPanel won't allow selecting aliases
- Subject: NSOpenPanel won't allow selecting aliases
- From: Seth Willits <email@hidden>
- Date: Wed, 23 Jun 2010 16:59:15 -0700
Apparently I've never noticed that in my open panels, I can't select aliases. Say for instance that on my Desktop there is an alias to deeply nested folder. In the open panel, when it lists the Desktop folder's contents, the alias is disabled so I can't double-click on it to drill into that folder's contents.
What's the correct setting to enable that? I can't seem to find anything.
NSOpenPanel * panel = [NSOpenPanel openPanel];
[panel setDelegate:self];
[panel setResolvesAliases:YES];
[panel setCanChooseFiles:YES];
[panel setCanChooseDirectories:NO];
[panel beginSheetForDirectory:nil file:nil types:nil
modalForWindow:window
modalDelegate:self
didEndSelector:@selector(..)
contextInfo:nil];
Thanks,
--
Seth Willits
_______________________________________________
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