• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Appending text to a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Appending text to a file


  • Subject: Re: Appending text to a file
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 12 Aug 2002 00:20:19 +0200

On Sunday, August 11, 2002, at 10:19 , Martin Weil wrote:

How can I append a string to a file ? I mean I don't want to overwrite the
entire file, but just adding my text at its end.

Unless I've overlooked anything, you are stick with either overwriting it entirely, or going down to BSD fopen(...,"a").

Excuse me if I am wrong, but haven't you overlocked NSFileHandle?

Yep. Sorry.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.

References: 
 >Re: Appending text to a file (From: Martin Weil <email@hidden>)

  • Prev by Date: Re: NSToolbarItem actions and modifier keys
  • Next by Date: best way to refuse events?
  • Previous by thread: Re: Appending text to a file
  • Next by thread: best way to refuse events?
  • Index(es):
    • Date
    • Thread