• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
beginOpenPanel:forTypes:completionHandler woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: beginOpenPanel:forTypes:completionHandler woes
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Trouble linking libcommonCrypto in iOS 6.1
  • Next by Date: Re: What am I looking for in the documentation?
  • Previous by thread: Re: Trouble linking libcommonCrypto in iOS 6.1
  • Next by thread: Re: beginOpenPanel:forTypes:completionHandler woes
  • Index(es):
    • Date
    • Thread