Post

Replies

Boosts

Views

Activity

CoreData Correct way to initialize default Data
I have an app similar to a Cooking recipes style app. I need to initialize the Coredata entity with some default recipes during the app 1st launch. The user can change this later. I Assume this should be done via background operations. From where should this initializer function be called? Is there any official doc/ guidance regarding the correct way of implementing this in swiftUI?
0
0
615
Aug ’21
CoreData Correct way to initialize default Data
I have an app similar to a Cooking recipes style app. I need to initialize the Coredata entity with some default recipes during the app 1st launch. The user can change this later. I Assume this should be done via background operations. From where should this initializer function be called? Is there any official doc/ guidance regarding the correct way of implementing this in swiftUI?
Replies
0
Boosts
0
Views
615
Activity
Aug ’21