문제

For me it sounds like the same thing. Updating a file implies to write to the file. Writing to a file is also an update for me. But I guess there's a subtle difference ;-)

Does anyone know?

도움이 되었습니까?

해결책

fileHandleForWritingAtPath: returns an object that responds only to writeData:.

fileHandleForUpdatingAtPath: responds to both NSFileHandle read... messages and writeData:.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top