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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com