koko wrote:
NSString *outPath = [nspath stringByAppendingString:@"/..namedfork/
rsrc"];
ok = [fm createFileAtPath:outPath contents:data attributes:nil];
This won't work. You must first create the file (i.e. create the
data fork). Only after the file exists can you open and write to its
resource fork using the "namedfork" notation. This is true even if
the data fork is intended to be empty, of length zero.
-- GG
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]