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

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

Reply via email to