Some time ago I mentioned the long time popular FMDB library working with SQLite databases, and iActiveRecord which provides an active record based library for working with SQLite.
Here’s a newer library that allows you to easily work with SQLite using a blocks based syntax called AFSQLManager from Alvaro Franco.
AFSQLManage provides a simple syntax for performing queries, and helpers for creating, opening, deleting, and renaming databases.
Here’s an example from the readme showing how to create a SQLite database with error checking:
<pre><code>if (success) {
// Yeah, database created successfully
} else {
NSLog(@"%@",error);
}
</code></pre>
}];
You can find AFSQLManager on Github here.
A nice simple library for working with SQLite databases.
- Open Source: Active Record Library For SQLite Databases In iOS Apps
- Open Source Core Data Alternative For Those Who Want Direct SQL Access
- Open Source iOS Objective-C Wrapper For Working With Microsoft SQL Server Databases
- Tutorial: Easy iOS Databases With SQLite and FMDB
- Tool That Generates The Xcdatamodel For Migrating SQLite Databases To Core Data
Original article: Open Source iOS Library Providing A Blocks Driven Syntax For Working With SQLite Databases
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.




