Re: Append to file with NSString writeToFile:
Re: Append to file with NSString writeToFile:
- Subject: Re: Append to file with NSString writeToFile:
- From: Harilaos Skiadas <email@hidden>
- Date: Mon, 28 Feb 2005 00:41:10 -0800 (PST)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
James,
As Magnus pointed out, you probably want to look
into the NSFIleHandle methods for writing to a file.
I.e. create the file you want to put all your info in,
open it and attach file handle to it, use this handle
to send all the data from all the files your other
task is processing, and then when you are done close
the file and clean up.
You could also keep one big string object, add all the
info there, and then write to the file only once....
But I guess it could end up being a pretty big string
depending on how much stuff we are talking about. Just
something to consider to avoid all the file updating.
Haris
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden