Simple enough, how to remove x number of bytes or a line from the (end) of a file ..? I know how to add bytes - I need to do the opposite.
Unfortunately, I did not find examples of how to do this: - /
NSFileHandle* fh = [NSFileHandle fileHandleForUpdatingAtPath: path]; [fh seekToEndOfFile]; ??
source share