On Feb 10, 2017, at 08:12 , Trygve Inda <cocoa...@xericdesign.com> wrote:
> 
> I would like to disable the Save button
> for a demo version of our app.

Have you looked at the NSSavePanelDelegate methods? One approach would be to 
use panel:validateURL:error: to prevent the save proceeding. Another would be 
to use (say) panelSelectionDidChange: to explicitly disable the Save button 
(which has a documented view tag) if that works the the XPC environment of the 
Save dialog.

_______________________________________________

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