You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.
I've been going through your Swift courses, and in beginners lesson four I think I found a few errors, which I've listed below:
Partnerships - struct Partner { var name:String; } should be struct Partner { var name: String }
When does this finish? - struct Show { var artworks: [Artworks] } should be struct Show { var artworks: [Artwork] }
When does this finish? - The instructions say Let's make a printPage function. Add this directly after the Show declaration. This should say Let's make a drawPage function.
When does this finish? - By this point your drawPage should look like: struct ShowPage { [...] func drawPage() { self.show.drawInstallationImage() }}. It should look like struct ShowPage { [...] func drawPage() { self.show.drawInstallationImage() self.drawShareButton() self.drawPartnerCallToAction() }}
When does this finish? - Awesome. Next up, we want to print the show name. Append print(self.show.name) to the end of your drawShow function. I think you mean append to the end of the drawPage function.
When does this finish? - Now we can draw an artwork! Let's start by drawing the top and bottom of our artwork in the loop. struct Show {..} should be struct ShowPage {...}
I hope this is helpful, and thanks for building these courses.
The text was updated successfully, but these errors were encountered:
Hi Artsy,
I've been going through your Swift courses, and in beginners lesson four I think I found a few errors, which I've listed below:
Partnerships - struct Partner { var name:String; } should be struct Partner { var name: String }
When does this finish? - struct Show { var artworks: [Artworks] } should be struct Show { var artworks: [Artwork] }
When does this finish? - The instructions say Let's make a printPage function. Add this directly after the Show declaration. This should say Let's make a drawPage function.
When does this finish? - By this point your drawPage should look like: struct ShowPage { [...] func drawPage() { self.show.drawInstallationImage() }}. It should look like struct ShowPage { [...] func drawPage() { self.show.drawInstallationImage() self.drawShareButton() self.drawPartnerCallToAction() }}
When does this finish? - Awesome. Next up, we want to print the show name. Append print(self.show.name) to the end of your drawShow function. I think you mean append to the end of the drawPage function.
When does this finish? - Now we can draw an artwork! Let's start by drawing the top and bottom of our artwork in the loop. struct Show {..} should be struct ShowPage {...}
I hope this is helpful, and thanks for building these courses.
The text was updated successfully, but these errors were encountered: