Friday, 15 March 2013

cocoa - Can Core Data content be edited directly? -


I'm using core data for about a week, and actually love it, but a little The problem is that by default setting values, it is necessary to set a temporary interface to load the data, after which I prioritize the data. Is there a way to edit values ​​in a table, such as you Manipulating the values ​​in the MySQL database Scope of how to use phpMyAdmin for? Alternatively, is there a way to write a function to import seed values ​​like a number spreadsheet, if it does not detect the stored XML file?

For your first question, you can edit the file directly but it is highly recommended That you do not do that. How to edit it depends entirely on the type of store you choose.

Regarding importing or installing pre-generated data, of course: You can write code to manually insert unit components into your managed object context. There is a dedicated section on this very subject. In addition, if you have too much data to import, even there is a section.


No comments:

Post a Comment