samedi 6 février 2016

Is there any way to be notified when sqlite tables update?

I am developing an iOS app that uses sqlite database with the help of FMDB. I used to work with Core Data, but it was very slow with 5000 items insert at a time. FMDB with transactions make such inserts much more faster!

Also I need some mechanism that can notify my view controllers when some items from sqlite table are updated. NSFetchedResultsController was my solution, but since I use FMDB I can no longer use NSFetchedResultsController.

Is there any way to be notified when sqlite tables update?

Aucun commentaire:

Enregistrer un commentaire