GRDB Stories

Gwendal Roué
Mar 30, 2016 · 1 min read

The little things that make the SQLite library GRDB.swift different.

GRDB integrates well with iOS. Today we’ll talk about memory management.

iOS likes applications that do not consume much memory. Small applications stay longer in memory, even in the background, ready to be reactivated at the user’s will.

Use the setupMemoryManagement method: it makes your database a good iOS citizen by releasing as much memory as possible on low-memory conditions, and when your app enters background.

http://groue.github.io/GRDB.swift/


Written by

I’m an iOS app developer at http://pierlis.com, and author of a few open source libraries: https://github.com/groue

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade