Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

Swift-at-Artsy: Beginners: iv. Mapping Reality #20

Open
DB8 opened this issue Oct 7, 2015 · 1 comment
Open

Swift-at-Artsy: Beginners: iv. Mapping Reality #20

DB8 opened this issue Oct 7, 2015 · 1 comment

Comments

@DB8
Copy link

DB8 commented Oct 7, 2015

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.

@orta
Copy link
Contributor

orta commented Oct 7, 2015

Thanks dylan!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants