Re: +stringWithContentsOfURL read-only?

2012-05-13 Thread Rick Mann
Hrm. Seems I only sometimes get that error when opening a file... On May 13, 2012, at 15:26 , Rick Mann wrote: > I'm using +stringWithContentsOfURL:encoding:error: to load the contents of a > file for simple parsing. Unfortunately, if that file is open somewhere else, > I get: > > Error Domain

+stringWithContentsOfURL read-only?

2012-05-13 Thread Rick Mann
I'm using +stringWithContentsOfURL:encoding:error: to load the contents of a file for simple parsing. Unfortunately, if that file is open somewhere else, I get: Error Domain=NSCocoaErrorDomain Code=257 "The file “Logs” couldn’t be opened because you don’t have permission to view it." UserInfo=0