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

Having trouble in latest version of Xcode.

Forums > 100 Days of SwiftUI

I am getting some new files of persistance and all, i dont know how to work with them, what to do to make it similar to the version in 100 days swiftUi challenge. Its not showing the scene and app delegate files and some huge pre-written code.I am a beginner pls help

3      

In Xcode 12, you could choose which 'Life Cycle' to use with SwiftUI - the one you are familiar with , and SwiftUI App. It seems this choice is now taken away so only SwiftUI can be used.

3      

@DantonCorbel then how do I cope up with the 100 days of swiftUI challenge ?

3      

Ah, I see, I think I misinterpreted your question. Did you have 'use core data' checked when you were making your new project? If so, uncheck this, and it should be more like you were expecting. Don't worry about scene and app delegate files not being there, you don't need them. And as for the persistence files - these are only inserted into your project when 'use core data' is checked, and if you keep going with 100 days of SwiftUI, Paul will show you what these are about too :-)

Happy coding!

3      

Paul has started to update 100DaysOfSwiftUI. There is a NEW beside the ones updated.

3      

@DantonCorbel thank you. I was in the core data part so, can i work with it even if core data is unchecked?

3      

@NigelGee thank you for the update. I was a little out of it for a few days but i did come back and it is being updated. I want your suggestion, Should I begin from project 1 or should i wait until Day 58(my current progress) onwards gets updated ?

3      

Paul is introducing new concepts using the same projects you've completed.

I recommend you at least re-watch the videos up to the point where you are. You can update your existing project with the new concepts supporting iOS 15.

3      

@arhamsc I have restarted as there are a few new pearls in there. A bit annoying, but I guess repetition is the way to learn...

3      

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.

Learn more here

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.