KaliaHayes / swift-HelloToTheUniverse-lab-swift-intro-000

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello Universe Lab

Theo

Keep your eyes on the stars, and your feet on the ground.

Theodore Roosevelt

Course Overview

Let's talk first about how this course is organized. Every single piece of content on our platform is called a lesson. There are two types of lessons on Learn: Readings and Labs.

Labs

Labs are lessons with a coding challenge you must complete. A lab will require you to write code and submit a solution.

You'll know if a lesson on Learn is a lab by the actions the right column asks you to take. It will ask you to Fork the Lab and submit a pull request. Some of the labs are tested where there might be an action that states that you should pass all local tests.

Readings

Readings are lessons that only have instructional content. They provide context and exposition on a topic by breaking concepts down. Readings are how you learn enough to solve a lab.

Setup

There are some labs that include tests. Learn might include an additional circle (that can be lit green) that states that you need to "Pass The Tests". When the tests pass within Xcode, the appropriate circle (on learn) should then light up green.

In order for Xcode to be able to communicate with Learn to let Learn know that all of your tests passed when completing a lab, you need to type the following command in Terminal which will install the file on your machine to make all this happen.

bash <(curl -s https://raw.githubusercontent.com/flatiron-school/ios-setup/master/install.sh)

After running the command above in terminal, you should be met with a message that states "You're all set - setup complete!" after going through any necessary steps of it asking you any questions.

completeSetup

You might notice that my terminal looks different than yours, especially that <3 icon I have.

curl https://raw.githubusercontent.com/flatiron-school/dotfiles/master/.bash_profile -o ~/.bash_profile

Typing that command in terminal will install a certain file on your machine which is setup to make your terminal application look like mine. I recommend you do this (as it's not just adding a <3 icon) but take note that by running this command it will override any customized bash_profile you might already have on your machine.

Please Note you must reload your bash profile by typing the following in terminal source ~/.bash_profile

GitHub

All of the lessons in this course are hosted on GitHub and they are open-sourced. GitHub is a platform that allows people to collaborate and do version control on their code. We won't cover the specifics but you can read more here. The most important thing now is for you to get a GitHub account since without it, you won't be able to go through the rest of this course. If you don't have one, make one now.

Once you're set up, watch the video below that explains how we go about solving coding labs on Learn. This lesson itself is a lab so follow along with the necessary steps where you will solve your very first lesson on Learn!

Instructions (video)

If you prefer to read detailed instructions on how to complete this lab (instead of a video), you can find detailed instructions here

View Hello to the Universe Lab on Learn.co and start learning to code for free.

About

License:Other


Languages

Language:Swift 73.2%Language:Objective-C 19.2%Language:Shell 7.4%Language:Ruby 0.2%