Re: Opening a saved project
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