I'm working with some code that accesses a data model in Xcode. String data
is written to an xml file in the app (Mac) and displayed in a list.
The inputted text is saved as body text and title. The app compiles but I
receive a warning upon launch,



*The managed object model version used to open the persistent store is
incompatible with the one that is used to create the persistent store.*



The app launches and I'm able to save (kinda) the inputted text, add title,
and view from a list of created titles/body text. The only problem is
the inputted text is not saved and reopened once the app launches again.
I'm assuming this has to be because of the persistent store.



I receive a warning in Xcode about this line of code dealing with the file
manager,



     fileManager = [NSFileManager defaultManager];
     applicationSupportFolder = [self applicationSupportFolder];
     if ( ![fileManager fileExistsAtPath:applicationSupportFolder
isDirectory:NULL] ) {
     [fileManager createDirectoryAtPath:applicationSupportFolder
attributes:nil];
     }

-- 
-
Tom Miller
[email protected]
pxlc.me
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to