This is an Objective-C wrapper around SQLite. FMDB 2.7 attempts to support a more natural interface. This represents a fairly significant change for Swift developers (audited for nullability; shifted to properties in external interfaces where possible rather than methods; etc.). For Objective-C developers, this should be a fairly seamless transition (unless you were using the ivars that were previously exposed in the public interface, which you shouldn't have been doing, anyway!). FMDB 2.7 is largely the same as prior versions, but has been audited for nullability. For Objective-C users, this simply means that if you perform a static analysis of your FMDB-based project, you may receive more meaningful warnings as you review your project, but there are likely to be few, if any, changes necessary in your code. For Swift users, this nullability audit results in changes that are not entirely backward compatible with FMDB 2.6, but is a little more Swifty.
Features
- FMDB is built on top of SQLite
- FMDB can be installed using CocoaPods
- FMDB will automatically wrap code in an autorelease pool
- You can stay within Swift and/or Objective-C, without needing to call the C functions yourself
- Any sort of SQL statement which is not a SELECT statement qualifies as an update
- Swift code written for FMDB 2.7 may require changes