Aleksander Stojanowskistojanowski.dev·Aug 26, 2024Sort It OutEvery app contains data that is shown to the user, and in most cases, users like to have at least a little control over how the data is displayed to them. The easiest way to give users some control is to allow them to choose by which property and in ...131 readsSwift
Andrés Portilloandresandswift.com·Dec 29, 2023Observing CoreData fetch request results from view models in SwiftUICoreData and SwiftData provide property wrappers that allow us to react to data changes (@FetchRequest and @Query respectively) unfortunately, if you want to move away the data handling from the view as it's the case with MVVM, you won't be able to u...168 readsObservation
Shivam Maggublog.shivammaggu.com·Dec 21, 2023Offline Persistent Storage in iOS ApplicationsWhat is offline storage? It is a kind of storage not on a network but on a physical device. In regards to an iOS application, it means that the data generated or displayed by an app is not stored on or retrieved from a network. Instead, it resides lo...81 readspersistant storage
Denis Mukhamuhden.hashnode.dev·Sep 13, 2023Managed object contexts hierarchyIn CoreData we can create multiple managed object contexts using 2 different approaches: connecting all of them directly to the persistent store (left side of the picture) and making a parent-child relationship (right side of the picture) Let's comp...CoreData
Denis Mukhamuhden.hashnode.dev·Aug 16, 2023CoreData stackCoreData framework can be used on both iOS and Mac devices. SQLite databases produced on Mac can be loaded and used on iOS (at least so far). And in general, CoreData supports 4 different types of persistent stores: SQLite database In-Memory storag...Core data
Denis Mukhamuhden.hashnode.dev·Jul 17, 2023Core Data blogLet me introduce myself - my name is Denis Mukha and I've been developing applications for the iOS platform since the appearance of iOS 4 and starting with MRC. In 2015 I started using CoreData and now in our project, we have 6 different databases wi...Core data
Kris Slazinskiblog.next-planet.com·Jun 2, 2023How to migrate NSPersistentCloudKitContainer to App GroupsRecently I needed to add iOS Widgets to my app Wins. As I discovered, if you are using Core Data and want to share data between your iOS app and widgets, you need to use App Groups. At first, I tried to migrate my database following the solution by D...15 likes·1.4K readsiOS