Re: NSOpenPanel won't allow selecting aliases
Re: NSOpenPanel won't allow selecting aliases
- Subject: Re: NSOpenPanel won't allow selecting aliases
- From: Corbin Dunn <email@hidden>
- Date: Thu, 24 Jun 2010 11:19:42 -0700
On Jun 23, 2010, at 4:59 PM, Seth Willits wrote:
> 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];
>
>
Is your delegate not allowing them to be selected?
corbin
_______________________________________________
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