
Local Database Storage on iOS with Aaron Douglas
In this episode, Leo talks with Aaron Douglas from Automattic and Ray Wenderlich author on local database storage on iOS. Why you should do it? What the difference between SQLite and Core Data? ... and more
Guest
Related Episodes
- Episode 61 - Machine Learning and Core ML with Jameson Toole
- Episode 57 - SwiftUI with Majid Jabrayilov - Part 2
- Episode 49 - Vapor 4 with Tibor Bödecs
Related Links
- Fetching objects from Core Data in a SwiftUI project by Donny Wals
- Why NetNewsWire Is Fast by Brent Simmons
- Hibernate
- Libraries
- Tools
- Alternatives
Sponsors
AppFigures
The tools you need to monitor, optimize, and get more downloads.
If you want your app to succeed, there's never been a better time to read up on App Store Optimization and Appfigures provides that for you.
The tools you need to monitor, optimize, and get more downloads.
If you want your app to succeed, there's never been a better time to read up on App Store Optimization and Appfigures provides that for you.
- Check out their great articles and guides on app store optimization
- Brand new teardowns of specific apps, like Spotify for instance or indie apps like Fotmob.
- New competitor's report in the Appfigures dashboard where you are able to view competitor downloads, build performance benchmarks, and see the new trends as they happen. Check it out here.
- Check out more of their resources at appfigures.com/resources.
The folks at Appfigures have easy step-by-step guides and intuitive tools to do that, which many indie developers are using to get more downloads:
https://appfigures.com/resources/aso
Also check out our episode with CEO Ariel Michaeli:
https://share.transistor.fm/s/15b7ff63
Try Appfigures for free, and if you like it use the special link to get 30% off for the next 3 months:
https://appfigures.com/account/upgrade?p=empower3030
https://appfigures.com/resources/aso
Also check out our episode with CEO Ariel Michaeli:
https://share.transistor.fm/s/15b7ff63
Try Appfigures for free, and if you like it use the special link to get 30% off for the next 3 months:
https://appfigures.com/account/upgrade?p=empower3030
- Help distribute your podcast with integrations to Apple Podcasts, Spotify, Google Podcasts, YouTube, and Mailchimp
- Deep analytics including average downloads per episode, popular podcast apps, number of subscribers, trends
- Professional support for creatives, businesses, and professional podcasters when it comes to hosting and analytics
Why Local Storage?
- Local cache is import for speed and being off-line
- Benefits of a flat file vs local database
- Why not run a server on your iPhone?
Why SQLite
- How SQLite works?
- What's missing from SQLite as opposed to a relational database server?
- How to get started with SQLite in Swift?
- Dealing with data types in SQLite
- What is Journaling and Why not use it?
Why CoreData
- What is Object Relational Mapping?
- What is an Object Graph?
- What is a Context?
- Why use Core Data vs SQLite?
- Challenges in Dealing with Migrations
CoreData Tips and Tricks
- Optimizations in CoreData
- How to Debug CoreData
- Building for Cross-Platform
- Testing Different Versions
- How Syncing to makes your app more tolerant based on API changes
- Dealing with CloudKit
- Dealing with SwiftUI
Social Media
Credits
Music from https://filmmusic.io
"Blippy Trance" by Kevin MacLeod (https://incompetech.com)
License: CC BY (http://creativecommons.org/licenses/by/4.0/)
"Blippy Trance" by Kevin MacLeod (https://incompetech.com)
License: CC BY (http://creativecommons.org/licenses/by/4.0/)
- Edward Sanchez
- Steven Lipton
Creators and Guests

Host
Leo Dion
Swift developer for Apple devices and more; Founder of BrightDigit; husband and father of 6 adorable kids

Guest
Aaron Douglas
Engineering Lead @Shopify. Ex @automattic. Author for @rwenderlich, 🏳️🌈, ADHD, 🧙, remote work, runner. Occasional DJ.