WWDC22 SALE: Save 50% on all my Swift books and bundles! >>

Core Data: Appdelegate, Scendelegate are not presented in Xcode12

Forums > 100 Days of SwiftUI

Paul's guideline of configure Coredata for xcode 12.0

He mentioned to add codes in appdelegate and scendelegate, but after "ProjectApp.swift" being introduced, those two files are no longer in project folder....

Does anyone know how to do it?


You no longer need The App Delegate or the Scene Delegate. For it is now all integrated within SwiftUI. I found this to explain it very well.


Just watch this video and you will see how Core Data works without the both Delegates.

THEN YOU COULD go back to the place you left and continue by integrating what you have learned and just ignore the points where he says App Delegate or Scence Delegate.


Hacking with Swift is sponsored by Emerge

SPONSORED Why are Swift reference types bad for app startup time, and what’s the performance cost of protocol conformances? That’s just a couple of the topics you can learn about on the Emerge blog — written by the app performance experts behind Emerge’s advanced app optimization and monitoring tools, based on their experience of working at companies like Apple, Airbnb, Snap, and Spotify.

Find out more

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.