• 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: Martin Weil <email@hidden>
  • Date: Sun, 11 Aug 2002 22:19:16 +0200

On Sunday, August 11, 2002, at 09:54 , Nico 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?

Regards,
Martin
--
http://www.mweil.net
_______________________________________________
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.

  • Follow-Ups:
    • Re: Appending text to a file
      • From: Ondra Cada <email@hidden>
References: 
 >Re: Appending text to a file (From: Ondra Cada <email@hidden>)

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