Adding "Import" to a document based application
Adding "Import" to a document based application
- Subject: Adding "Import" to a document based application
- From: Jeff Smith <email@hidden>
- Date: Thu, 06 Oct 2011 16:42:19 -0400 (EDT)
Hi,
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?
thanks
Jeff
_______________________________________________
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