Re: Change type and creator
Re: Change type and creator
- Subject: Re: Change type and creator
- From: Quentin Mathé <email@hidden>
- Date: Wed, 3 Jul 2002 17:53:12 +0200
Le mercredi 3 juillet 2002, ` 04:34 PM, Philippe Martin a icrit :
At 01:50 +0200 03/07/02, Quentin Mathi wrote:
Can someone give me an example how to change the type and the creator
of a file ? I suppose I must use changeFileAttributes:atPath: but I
don't understand how to use it.
There are several threads about this archived at mamasam.com. See this
message:
<http://cocoa.mamasam.com/MACOSXDEV/2002/04/2/32597.php>
Thanks. ... but my creator and type codes are NSString then I need to
convert them to NSNumber and I don't know how to do it. I have tried :
creatorNumber = [NSNumber numberWithUnsignedLong:[creatorString
cString]];
but that's not seem to be the right way. I'm a bit rusty with my C.
--
Quentin Mathi
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.