Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DaveP

macrumors 6502a
Original poster
Mar 18, 2005
508
433
So this seems like a really dumb questions, but I can't find the answer anywhere and I've never really used Core Data before. Is there any way to create Core Data data at design time or only programmatically? I don't know if it's possible to create/edit the proper persistent store file, but that seems unsafe. It's seems like there has to be a way to do this.

Anyone know the answer?

Thanks.

Update: Further searching looks like it needs to be done programmatically of some sort. Can anyone verify that or have suggestions.
 
I don't think there is a supported way. You could of course reverse engineer the structure they use (easiest if using XML), but that's not supported.

You probably need to write code to import a custom file into your Core Data model.
 
Thanks, yeah that's what thought. I was sort of looking for an excuse to use CoreData. I'll continue using a plist.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.