Adding HFS file type to a file
Adding HFS file type to a file
- Subject: Adding HFS file type to a file
- From: Tom Gray <email@hidden>
- Date: Wed, 24 Sep 2003 19:47:10 -0400
I have created a method which exports the data from my NSDocument
subclass as either rtf or text. I have used the OS X convention of
appending an extension to the file name to indicate the file's type. I
would like to add the HFS file type and creator to a file I am creating
with NSData and NSString writeToFile:atomically: method. I can do this
for the document with fileAttributesToWriteToFile:ofType:saveOperation:
but I don't know how to do this for the exported file.
Thanks!
Tom Gray
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.