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 (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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to