On 4 Jan 2004, at 20:32, reuss wrote:
How can i use the writeToFile: method of NSObjects to append to an existent file? is it possible only by loading the whole file in a NSThing, append my record and save the whole thing? thanks for any advice
The -writeToFile:atomically: method will not append ... you need to read in the old version, append to it in memory, and write the result out.
Alternatively, you can use the NSFileHandle class to append data to an existing file.
_______________________________________________ Help-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-gnustep
