AlexDenisov / iActiveRecord

ActiveRecord for iOS without CoreData, only SQLite
http://alexdenisov.github.com/iActiveRecord/
MIT License
354 stars 50 forks source link

I have the exist database , how can I use iActiveRecord #4

Closed hjue closed 12 years ago

AlexDenisov commented 12 years ago

Try to copy your database to the Caches, or Documents, and then call + [ActiveRecord registerDatabaseName: useDirectory:]. Also you need to describe your tables according rules. I hope this helps.

hjue commented 12 years ago

I used your method to solve the problem.

Thank you for your help.