Re: NSFileManager - Incompatible persistent store

2012-11-25 Thread Graham Cox
On 26/11/2012, at 9:44 AM, Tom Miller wrote: > Thank you! Though this didn't quite work. I'm getting an error response in > the code telling me "No visible @interface for 'NSFileManger' declares the > selector 'createDirectoryAtURL:attributes'. Included in this message is the > code im playing w

Re: NSFileManager - Incompatible persistent store

2012-11-25 Thread Tom Miller
Hey Sean, Thank you! Though this didn't quite work. I'm getting an error response in the code telling me "No visible @interface for 'NSFileManger' declares the selector 'createDirectoryAtURL:attributes'. Included in this message is the code im playing with, https://dl.dropbox.com/u/3783094/BlogDem

Re: NSFileManager - Incompatible persistent store

2012-11-22 Thread Sean McBride
On Fri, 23 Nov 2012 09:14:51 +1100, Shane Stanley said: >> Most path-based and non-NSError-returning file APIs are deprecated > >Is that documented anywhere? Not sure if it's called out in black and white, but you just have to browse the headers to see that all the newer file-related APIs use NS

Re: NSFileManager - Incompatible persistent store

2012-11-22 Thread Shane Stanley
On 23/11/2012, at 2:58 AM, Sean McBride wrote: > Most path-based and non-NSError-returning file APIs are deprecated Is that documented anywhere? All I can see is this in the NSFileManager reference: > The NSFileManager class supports both the NSURL and NSString classes as ways > to specify th

Re: NSFileManager - Incompatible persistent store

2012-11-22 Thread Sean McBride
On Wed, 21 Nov 2012 18:17:26 -0500, Tom Miller said: >Sorry my bad! The warning states 'createDirectoryAtPath:attributes:' is >depreciated. I was able to get rid of that window warning once the app >launched, miss spelled something in my code. Though I'm still unable to >save the imputed text to t

Re: NSFileManager - Incompatible persistent store

2012-11-21 Thread Tom Miller
Sorry my bad! The warning states 'createDirectoryAtPath:attributes:' is depreciated. I was able to get rid of that window warning once the app launched, miss spelled something in my code. Though I'm still unable to save the imputed text to the XML. I can provide the entire set of code if needed to.

Re: NSFileManager - Incompatible persistent store

2012-11-21 Thread Tom Miller
On Wednesday, November 21, 2012, Tom Miller wrote: > Sorry my bad! The warning states 'createDirectoryAtPath:attributes:' is > depreciated. I was able to get rid of that window warning once the app > launched, miss spelled something in my code. Though I'm still unable to > save the imputed text to

Re: NSFileManager - Incompatible persistent store

2012-11-21 Thread Mike Abdullah
On 21 Nov 2012, at 21:16, Tom Miller wrote: > I receive a warning in Xcode about this line of code dealing with the file > manager, > > > > fileManager = [NSFileManager defaultManager]; > applicationSupportFolder = [self applicationSupportFolder]; > if ( ![fileManager fileExistsAt