PDA

View Full Version : Core data entity creation




ntaucci
Jul 15, 2010, 03:23 AM
Hello everyone,
I want to use core data framework with sqlite. Is there any possibility to create entities (tables) in runtime. With plain sqlite I can create tables programatically, but here like I see all has to be defined and created before runtime.

Thanks.



adrian.oconnor
Jul 15, 2010, 04:33 AM
Hello everyone,
I want to use core data framework with sqlite. Is there any possibility to create entities (tables) in runtime. With plain sqlite I can create tables programatically, but here like I see all has to be defined and created before runtime.

Thanks.

No, the idea with CoreData is that you define your schema in XCode. So far as I know (and I'm by no means a CoreData expert), you can't change the schema at run-time.