• 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
Appending to file with writeToFile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Appending to file with writeToFile


  • Subject: Appending to file with writeToFile
  • From: "Glover,David" <email@hidden>
  • Date: Thu, 29 May 2008 15:42:44 +0100
  • Thread-topic: Appending to file with writeToFile

Hi All,



I'm using writeToFile to send strings to a log file at various points in
my program, however it doesn't append the strings, it just overwrites
the previous one.  So the only thing in the log file is the very last
string that was sent to it.



I've searched around for a while and can't find any way to append the
strings in my file.  I was wondering if anyone else had achieved this?
Or if anybody knows how to do it?



Kind Regards



Dave






Promethean Limited is a company registered in England and Wales with company number 1308938 and VAT number GB 572 2599 18
______________________________________________

Promethean Ltd and or associated and or subsidiary companies :

The views expressed in this communication may not necessarily be
the views held by Promethean Ltd and or associated and or subsidiary companies.

This e-mail is for the exclusive use of the addressee(s). Unauthorised
disclosure, copying or distribution is prohibited.

This e-mail message has been swept for the presence of computer viruses.

Promethean Ltd and or associated and or subsidiary companies accepts no liability for any loss resulting from this email transmission.

Promethean, Promethean House, Lower Philips Road, Blackburn, Lancashire, BB1 5TH, UK. Please update your records accordingly. Thank you!



*****************************************************************
This email has been checked by the e-Sweeper Service
*****************************************************************

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Appending to file with writeToFile
      • From: Ken Thomases <email@hidden>
    • Re: Appending to file with writeToFile
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: 10.5.3 Release Notes?
  • Next by Date: Re: Overlapping Extensions and UTIs in NSDocument
  • Previous by thread: Re: IKImageView weird Zooming behaviour?
  • Next by thread: Re: Appending to file with writeToFile
  • Index(es):
    • Date
    • Thread