// I need to

ModernizeUpgrade without breaking it RescueFix what someone else started Build NewTurn an idea into a product Reach More PeopleGet found, get used, include everyone

// Company

Case StudiesExpertiseAbout + CareersResourcesContact Book a call →

Realm - A New Mobile Database

Realm launches as a new mobile database for iOS, an alternative to SQLite and Core Data. A first look at its design and its Objective-C API.

Art+Logic Jul 17, 20141 min read

From the Art+Logic archive · written in 2014. The tools may have moved on; the thinking still holds.

Realm Logo

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.

keep going

More to explore in Build New.

All Build New resources →
let's talk

Got a problem like this one?

Tell us what's stuck. A real person replies within one business day.

Talk to our team →

Talk to people who know software, not a sales script.

Your first call is with Aja, our VP of Sales. He'll help make sure you're solving the right problem. Here's what you'll cover together:

  1. What you're trying to accomplish

    The business goal first, then the technology.

  2. Possible approaches

    And the tradeoffs of each, in plain language.

  3. Risks you may not have considered

    Technical and business, before they cost you.

  4. Whether AI changes the math

    What's practical, and what's just hype for your project.

  5. Sensible next steps

    Even if the right next step is not us.

book-a-call.ics

Loading the scheduler…

Open the booking page →

Some problems are easier to explain in writing. Send us a few lines about what you're working on, and we'll reply within one business day. Helpful to include:

  1. What the software does, or should do
  2. What's stuck, or what's worrying you
  3. Any deadline or budget you have in mind
note.md

Loading the form…