/* Lets use a c function to write to the file without reading it into memory */ FILE *f = fopen([outputLogFile UTF8String], "a"); fprintf(f, "%s", [text UTF8String]); fclose(f);