UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

Playground 4 and Core Data

Forums > SwiftUI

I saw this video on YouTube. Does CoreData really work in Playgrounds 4 and if it does do you have an example on GitHub you can share?

https://youtu.be/0inFZsLevOg

2      

Are you wishing?

Or did you crack open playgrounds and give it a try yourself? We all are teachers and learners.

At least give it a try, and report back your findings. As @twostraws has noted, one of the best ways for you to learn is to try and fail.

Give it a try at least, and tell us if you failed. (and if so, where and how?)

2      

I did try and it didn't work. Hence me asking if anyone else has got it working.

2      

Have you seen this article? Using a Core Data Model in Swift Playgrounds

2      

Thanks @roosterboy, unfortunately I don't currently have a working mac just the iPad Pro M1. I know it isn't a replacement for xCode but it would be nice to have some persistent storage with Playground 4.

2      

Hacking with Swift is sponsored by RevenueCat.

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Click to save your free spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.