I have error \"Cocoa error 256\" when I try to save data. How to fix it? And what problem?
This is what it boils down to (as Tegeril said)
NSFileReadUnknownError Read error, reason unknown
Available in Mac OS X v10.4 and later.
Declared in FoundationErrors.h.
A file can also be a resource located at a URL/URI, if the URL has unencoded characters it can cause this type of error.
Check the path to the resource/file.