Skip to main content

3 posts tagged with "Data Persistence"

Our Data Persistence tag archive features a wealth of resources for developers and tech enthusiasts. It covers everything from basic concepts to advanced techniques.

View All Tags

SwiftData + CloudKit for SwiftUI Templates

· 6 min read
Full Stack Developer

Persistence decisions that keep a template fast today and maintainable later.

SwiftData and CloudKit architecture for a SwiftUI app template

SwiftData is one of the most important tools for modern SwiftUI apps. It gives developers a native, Swift-first way to model and persist local data while working naturally with SwiftUI.

For app templates, the question is not "Should every app use SwiftData?" The better question is: "Which parts of this template need local state, offline behavior, sync, or structured persistence?"

This guide explains how to use SwiftData and CloudKit in SwiftUI templates:

  • when SwiftData is a good fit;
  • when Core Data or a backend-first model is safer;
  • how to think about iCloud sync;
  • how to structure model boundaries;
  • how to avoid coupling persistence directly to every screen.

Android Data Persistence with Kotlin: A Complete Guide

· 10 min read
Engineering Team

In this tutorial, we will explore the concept of data persistence in Android development using Kotlin. Data persistence is the ability to store and retrieve data even after the application is closed or the device is restarted. We will cover various methods of data persistence, including shared preferences, internal storage, external storage, SQLite database, and the Room Persistence Library. By the end of this guide, you will have a comprehensive understanding of how to implement data persistence in your Kotlin Android applications.

iOS Data Persistence in Swift

· 13 min read
Full Stack Developer

intro to blog

In this article, I would like to showcase the basics of iOS data persistence with Swift, by presenting a general overview of what’s possible. Data persistence is the mechanism of storing any type of data to disk so that the same data can be retrieved without being altered when the user opens the app next time. While you could save the same data on a server, in this tutorial we are going to describe all the ways to store data locally in iOS apps.