Realm – A New Mobile Database

Realm_—_a_mobile_database

A new mobile database for iOS (Android support coming soon) launched earlier this week called Realm. Given that up to this point your options were SQLite or something built on top of SQLite like Core Data or YapDatabase, it’s kind of a big deal. SQLite is great, but a cross platform database with APIs designed for modern mobile apps has a lot of potential.

It’s built in C++ but ships with Swift and Objective-C APIs, even a CocoaPod to make integration a one-liner. If you build from source you can use it on OS X too. To top it off, they’ve also developed an Xcode plugin for quickly creating Realm model objects and a Mac app to open and browse the contents of database files. Be sure to take a look at the Realm announcement for some background on the project, performance numbers, and example code.

The API is incredibly simple and straightforward to use, and looks to address many of the complaints iOS and Mac developers have with Core Data. The Docs and API Reference are a great way to get a better idea of how it could fit in your next mobile app. I’ve worked through the examples at this point, and look forward to seeing what the developers have in store for upcoming versions of the database and dev frameworks.

Steven Huey

Steven Huey

Senior Software Engineer at Art & Logic
Mac and iOS developer and project manager at Art+Logic. Twitter | GitHub
Steven Huey

@stevehuey

Father of 4 |  Developer
@CastroSupport I’m seeing 500 and other errors like this in the app today. Are there server issues atm? https://t.co/rLJbd1QVRe - 4 days ago
Steven Huey

Tags:

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.