beginOpenPanel:forTypes:completionHandler woes
beginOpenPanel:forTypes:completionHandler woes
- Subject: beginOpenPanel:forTypes:completionHandler woes
- From: Kurt Sutter <email@hidden>
- Date: Mon, 06 May 2013 05:41:19 +0200
Dear All
We have a sandboxed application and we are using NSDocument's beginOpenPanel:forTypes:completionHandler to install an accessoryView so that a user can select the file types that should be shown as active in the open Panel.
We find two issues with this:
1 - The accessory view installs correctly, but it is only visible when the open panel is not displaying iCloud contents. When the iCloud button is pressed, the file list shows as active only those files that match the selected type, but the accessory view is not displayed, meaning that a user cannot change this setting anymore (Explanation: our app saves several different document types, and we wanted the user to be able to filter which UTIs are active)
2 - After a user selects a new file type, we call setAllowedFileTypes, but the list displayed by the panel only updates to show the correct file types as active when one forces an update by scrolling. calling validateVisibleColumns does not help.
Are we expecting functionality that is not planned to be there or could we be doing something wrong? Anybody knows of some workarounds?
Thanks for any advice in advance
Kurt Sutter
QuantumSoft
_______________________________________________
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