An alternative to Core Data for people who like having direct SQL access
What is FCModel?
FCModel is an alternative to Core Data for people who like having direct SQL access.
By Marco Arment. See the LICENSE file for license info (it’s the MIT license).
FCModel is a generic model layer on top of SQLite. It’s intended for people who want some of Core Data’s convenience, but with more control over implementation, performance, database schemas, queries, indexes, and migrations, and the ability to use raw SQL queries and SQLite features directly.
Overview
- Pricing: Free
- Resource Link: https://github.com/marcoarment/FCModel
- Resource Maker: Marco Arment
- Mobile Platform Destination: iOS Apps
- Mobile Platform Support: Native iOS
- Programming Languages: Objective-C
- iOS Versions Supported: iOS 6.0+, iOS 7.0+, iOS 8.0+, iOS 9.0+, iOS 10.0+, iOS 11.0+, iOS 12.0+
The team behind mobintouch
Website: https://www.mobintouch.com
Resources added 👉 3142
Related resources
NSFWDetector
A NSFW (aka porn) detector with CoreML
AudioKit
Swift audio synthesis, processing, & analysis platform for iOS, macOS and tvOS
Serrata
Slide image viewer library similar to Twitter and LINE
There is 1 comment
1 comment
This library contains one simple but critical issue its author seems to ignore for a number of years already (although this issue has been pointed to, described and even fixed with a pull request). When some record is stored supposedly unique primary key is generated for it by library itself, generation routine checks for value uniqueness by querying db with freshly generated pk, and if it’s unused – pk is is assigned to an object and life goes on, but if generated pk is not unique – … life goes on with this non unique pk, and when library tries to store this record in sqlite db – it crashes you’r app with sqlite non unique pk insertion assert, although the initial intention of the author was to repeat pk generation iterations until unique pk is not generated. Issue origin fcmodel.m, line 633.