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

SOLVED: Trying to download images for Project 2 but Don't know how

Forums > SwiftUI

It states to do this:

"We’re going to start our app by building the basic UI structure, which will be two labels telling the user what to do, then three image buttons showing three world flags.

First, find the assets for this project and drag them into your asset catalog. That means opening Assets.xcassets in Xcode, then dragging in the flag images from the project2-files folder. "

However, when I go to the github page https://github.com/twostraws/HackingWithSwift/tree/main/SwiftUI/project2/GuessTheFlag and then click on the Assets folder I don't know to bring them into Xcode.

If anyone can help that would be great.

Thanks in advance.

1      

Go to this link instead https://github.com/twostraws/HackingWithSwift

Then click on the green Code button, and click Download Zip

That will download all the files for all the projects including for the UIKit edition of the100 days course. But, then you will have them all on your computer for the future, and can sort through the folders to find the assets for the project you are currently working on each time.

Then you just have to drag those files from Finder into your assets area of your Xcode project.

2      

@Bnerd  

In similar cases I use the below:

https://download-directory.github.io

1      

Thank you both for your help! I went ahead and just downloaded all of the files for the projects.

1      

TAKE YOUR SKILLS TO THE NEXT LEVEL If you like Hacking with Swift, you'll love Hacking with Swift+ – it's my premium service where you can learn advanced Swift and SwiftUI, functional programming, algorithms, and more. Plus it comes with stacks of benefits, including monthly live streams, downloadable projects, a 20% discount on all books, and free gifts!

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.