darksider
darksider

Reputation: 1030

XCode : reasons for not using Core Data?

I'm a new iPhone dev and I integrated a team of iOS developper, in the domain of education. First, I thank you for your help.

Here is my question : The lead developper told that for the project (iOS 5), they will not use Core Data to deal with the database of the app, but they will use their own SQLite libraries. I have been told by the lead dev that Core Data will not fit in that project, because of the data they are dealing with... No more details

Since Core Data uses SQLite, (and so will the library they created), do you have any ideas why Core Data could be a problem (in general)

I really thank you if you have any clue.

EDIT :

I've just learnt that the lead is creating an sqlite database and we are going to use it in the app. And the fields contains a lot of html (a lot of special characters like \ or & or <), and we are going to display it in some UIWebViews. Is he right when he says that those special characters can turn wrong with core data ?

Upvotes: 0

Views: 170

Answers (2)

trojanfoe
trojanfoe

Reputation: 122391

The only reason I can think of is cross-platform portability. If you use a manually-generated schema, and perhaps even provide common library code, then that database schema/library can be used on non-Apple platforms.

Upvotes: 3

Phillip Mills
Phillip Mills

Reputation: 31016

It's hard to guess at other people's reasons but.... The purpose of Core Data is object persistence. The fact that it can use a database as a storage mechanism is an implementation detail. For problems that are specifically object-oriented in nature, it works very well.

If you are dealing with a problem that is more suited to solutions that are about rows, columns, and tables, it isn't necessarily a good fit.

I like using objects and have a lot of experience with Object/Relational mapping in other systems, so I tend to be pro-Core Data. People with a database-only background probably have a different view.

Upvotes: 1

Related Questions