How to encode core data database..?

Forums Programming cocos2d support (graphics engine) How to encode core data database..?

This topic contains 1 reply, has 2 voices, and was last updated by  bobueland 1 year, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
April 14, 2012 at 10:18 am #240681

shailesh
@shailesh

Hey guys..!

i have created on database using core data and storing it in the hard disk using persistentStoreCoordinator,

Can any one please help me with how to encode a database..? What should be used..? NskeyedArchiver .?? Or is there any other way to do it..?

Any help will be truly appreciated..!

Thanks in advance

Regards

Shailesh

April 30, 2012 at 8:52 pm #372689

bobueland
Participant
@bobueland

Hi Shailesh,

I’m not sure if you are separating SQLite, NSCoding and Core Data correctly. I’m doing a series of tutorials on Core Data, and have published the first one at

http://bobueland.com/cocos2d/2012/intro-to-core-data/

(In the second tutorial I will explain how to integrate Core Data with cocos2d, with a simple hands on example. In the third tutorial I will explan how you can use fetch and also how to handle complex objects graphs with intricate relationships. In the forth I plan to explore the full power of object graphs, by using notifications and subclassing NSManagedObject.)

Kind Regards

Bob

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.