Fresh Beginning
  • Home
  • Speaking
  • Reading
  • Github
  • Alma Mater
  • Contact
Subscribe
Tagged

Persistency

A collection of 3 posts

[iOS][Swift] Storing Custom Objects into UserDefaults or local persistent storage
UserDefaults

[iOS][Swift] Storing Custom Objects into UserDefaults or local persistent storage

Welcome to another Swift / iOS post. Today we are going to see a Swifty way of converting custom Swift objects into Data and storing them into NSUserDefaults for later retrieval. A few years ago I was working on a project that involved storing such objects into local persistent storage. It

  • Jayesh Kawli
Jayesh Kawli Jan 27, 2022 • 2 min read
Core Data

Core Data Migration - Part 2 (Removing Attributes)

Disclaimer: I have taken a code example to show how to migrate data from Migrating a data model with Core data. So if you are interested in learning more about core data, please read on the original post In the last post of core data migration series we saw how

  • Jayesh Kawli
Jayesh Kawli Jun 7, 2017 • 4 min read
Core Data Migration - Part 1 (Adding new fields)
Core Data

Core Data Migration - Part 1 (Adding new fields)

While working on tiny side project, I realized that Xcode has made significant change in how core data migration takes place. Earlier, like couple of years ago I recall how I ran into this problem with core data migration. The problem was related with data migration. Let's say you have

  • Jayesh Kawli
Jayesh Kawli Jun 5, 2017 • 3 min read
Fresh Beginning © 2022
Powered by Ghost