Re: receiving a file on app startup
Re: receiving a file on app startup
- Subject: Re: receiving a file on app startup
- From: Torsten Curdt <email@hidden>
- Date: Tue, 5 Feb 2008 16:26:34 +0100
On 05.02.2008, at 16:14, Davide Scheriani wrote:
him
did u succed with that task?
which selector/method do you need to implement when the application
open the file?
Yes, you specify the class along with the file types on the target
configuration. That class itself needs to be derived from NSDocument
and have the methods
- (NSData *)dataRepresentationOfType:(NSString *)aType
- (BOOL)loadDataRepresentation:(NSData *)data ofType:(NSString *)aType
Then you are set :)
cheers
--
Torsten
_______________________________________________
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