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.
When I'm not coding the "impossible" at Art+Logic, I take a lot of interest in new programming technologies and paradigms; even if they're not yet viable for use in production, there can often be takeaways for improving your everyday code. My current...