• 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
Re: Opening a saved project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening a saved project


  • Subject: Re: Opening a saved project
  • From: Graham Cox <email@hidden>
  • Date: Tue, 28 Apr 2009 22:26:21 +1000


On 28/04/2009, at 10:17 PM, Mahaboob wrote:

So how can I get the path of the saved project when I'm double clicking it?


Is your app document-based? If so, it should automatically make a document object and pass the URL to its -readFromURL:ofType:error: method. If it's not working maybe you haven't correctly set up your info.pList, which specifies what types your app can open and what document classes to create in response.

If your app isn't document-based, the application's delegate should implement -application:openFiles: or similar.

--Graham


_______________________________________________

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


References: 
 >Opening a saved project (From: Mahaboob <email@hidden>)

  • Prev by Date: Opening a saved project
  • Next by Date: Thread safety
  • Previous by thread: Opening a saved project
  • Next by thread: Thread safety
  • Index(es):
    • Date
    • Thread