Re: Adding "Import" to a document based application
Re: Adding "Import" to a document based application
- Subject: Re: Adding "Import" to a document based application
- From: Jeff Smith <email@hidden>
- Date: Fri, 07 Oct 2011 12:58:07 -0400 (EDT)
No that doesn't sound right. And yes there is a better way. NSOpenPanel.
>I want to add "Import" to a document based application but wasn't quite
>sure if I was going about it right.
>
>I was going to override runModalOpenPanel:forTypes to set forTypes to the
>import types and invoke URLsFromRunningOpenPanel. A flag would be set so
>runModalOpenPanel:forTypes would know if it was being called from
>openDocument:sender or my Import command.
>
>Does that sound right or is there a better way?
_______________________________________________
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