• 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
Adding "Import" to a document based application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Strange mystery with Core Animation
  • Next by Date: Re: adding something to a setter
  • Previous by thread: Why doesn't UIViewController retain its UISearchDisplayController
  • Next by thread: Re: Adding "Import" to a document based application
  • Index(es):
    • Date
    • Thread