TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

Opened up Project 4 Better Rest in Xcode however in Content View it already has code?

Forums > SwiftUI

Don't know why in content view for project 4 it already has the code I was supposed to type when I follow along in the video? Is that how all of the future projects will be like in which much of the code is already there?

1      

Did you open the project from the resources that you downloaded from Paul's GitHub rather than opening your own project?

If you downoaded the files from Paul's GitHub repo that has all of the project assets in it, it also includes a finished copy of each project in it. Opening that, rather than creating your own project, is the only reason I could see this happening. (Aside from you already completing the project in your sleep without realizing it.)

1      

Hi thanks for responding. Yes I downloaded the file from Paul's Github repo. Did not know I needed to create a separate project in Xcode. Know it all makes sense!

1      

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.