Core Data in new SwiftUI projects

Hey,

I love the new changes in SwiftUI! Though, I have one question about the use of Core Data:

When you create a new SwiftUI project and choose the new default life cycle "SwiftUI App", there's no option to use Core Data anymore. It's grayed out.

Are there any reasons behind this? And does this mean, Core Data isn't intended for use with SwiftUI anymore? Or will it be enabled later or something?

If Core Data isn't meant to be used anymore in SwiftUI, what are alternatives to properly store persistent data?

Thanks and have a great day!
Answered by Volker88 in 614662022
It's still possible to use CoreData with SwiftUI

Related questions have been answered already here:
https://developer.apple.com/forums/thread/650173

and here:
https://developer.apple.com/forums/thread/649860
Accepted Answer
It's still possible to use CoreData with SwiftUI

Related questions have been answered already here:
https://developer.apple.com/forums/thread/650173

and here:
https://developer.apple.com/forums/thread/649860
Core Data in new SwiftUI projects
 
 
Q