Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ORM for SQLite in iOS

Tags:

ios

orm

ipad

I am trying to convert a C# application we had developed to an iPad application. As we developed the app with Entity framework, I am looking for a counterpart for iOS.

According to this answer, there are several ORM libraries for SQLite in iOS:

  • FMDB
  • chibi-ORM
  • sqlitepersistentobjects

But after reading each of the web sites, I still can't decide which package to use. Can anybody who has experience with one of them tell me advantages/disadvantages of the packages?

like image 654
Tae-Sung Shin Avatar asked Apr 15 '13 14:04

Tae-Sung Shin


2 Answers

UPDATE: DBAccess has now been replaced by the open source ORM Shark.

We have recently released a free to distribute and use ORM for Objective-c / iOS called DBAccess, which can be downloaded from http://db-access.org/, it has taken several years to develop and has now been deployed within many applications.

It may not be for everyone, but I hope our effort will help some in the community.

NOTE, I have been alerted to the fact that it is bad form to promote your own products in a forum such as this, but I just wanted to add that I am only posting this in answer to the OP because I feel it does bring something useful to the table and I sincerely hope it will prove helpful to some people, even if it's not for everyone.

UPDATE: DBAccess has now been replaced by the open source ORM Shark. It is API compatible, and is available on github. http://sharkorm.com and https://github.com/sharksync/sharkorm

Thanks Adrian_H

like image 162
Adrian_H Avatar answered Oct 21 '22 23:10

Adrian_H


I've dealt with the limited number of ORMs for quite some time, and I finally did something to improve the limited options available. I've written an ORM and released it under a BSD license for everyone to use. It's posted on GitHub.

like image 2
Holly Avatar answered Oct 21 '22 23:10

Holly