Questions tagged [xcdatamodel]

113 questions
0
votes
1 answer

Can the model a Core Data model is based on be displayed or changed?

I want to see what model each of my models are base on and possibly change it. I haven't been able to find anywhere to do this in Xcode. It seems that once you create a new model version, and select the model it's based on (using "Editor / Add…
Symmetric
  • 4,013
  • 3
  • 27
  • 33
0
votes
2 answers

How to recreate xcdatamodeld

I am maintaining an app that has been live on the AppStore for a few months. My app uses Core Data and somehow I managed to lose all previous versions of my xcdatamodel. I am hoping to perform a lightweight migration. All I need to do is add one…
Blamdarot
  • 3,317
  • 1
  • 18
  • 15
0
votes
1 answer

how to fix xcdatamodel error at linker xcode?

I made a new xcdatamodeld with 2 entities stage, this one has a relationship many to level level, this one has many attributes and one relationship with stage but when I create NSManagedObject subclass from that xcdatamodeld, and build my…
0
votes
1 answer

DataModel merging for apps from different projects in iOS

Customer has iPhone app on appstore. Second version of this app was developed from the beginning. Apps have absolutely different data models and when we try to update app with new version it crashes on using core data. In normal situation I would…
earsonheart
  • 1,042
  • 2
  • 12
  • 25
0
votes
1 answer

CoreData model not working properly

I'm updating an App which uses CoreData. On the full version I made it so the user could save his/her own data on the database (the App populates a pre-filled database). The App was written on Xcode 4.2 and with a deployment target of iOS 4.1, so…
Marcal
  • 1,371
  • 5
  • 19
  • 37
0
votes
2 answers

update data in xcdatamodel in iphone

i have ios application with xcdatamodeld, i want update some data so need a code for that i have code for insert NSManagedObjectContext *context = [self.fetchedResultsController managedObjectContext]; NSEntityDescription *entity =…
Abhishek Patel
  • 71
  • 4
  • 12
0
votes
1 answer

Core data is lost when reboot iPhone device

I create an application that use two xcdatamodel file to save data. Everything works fine, the data can save and load successfully. But it is weird that when I reboot the device, data in one model is lost and another is still exists. It usually…
stevensei
  • 21
  • 1
-1
votes
1 answer

Save XML file in C# without use XCData

I have a string like this on C#: string sxml="xpto" and I want to save an xml file using XLinq: XElement cursosXML = new XElement("MenuItem", new XCData(sxml)); cursosXML.save("C:\\xpto.xml") when I read my xml file this appears:…
r-magalhaes
  • 427
  • 2
  • 9
  • 18
1 2 3 4 5 6 7
8