GithubHelp home page GithubHelp logo

cronocide-devmountain / agoodstart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devmountain/agoodstart

0.0 2.0 0.0 122 KB

The very first project for iOS pre-course.

Objective-C 57.60% Swift 42.40%

agoodstart's Introduction

AGoodStart

The very first project for iOS pre-course.

Let's get started

Note: Feel free to use either language (Swift or Objective-C) for the pre-course projects. Base projects will be included for each.

Also: The instructions are for using Terminal however you should feel free to use a GUI application for Git. I love and use Tower it's a paid app ($59) with a trial. If you try and really like Tower, we’ll cover the cost of it. Let us know at [email protected] and we’ll get you a license. Others use SourceTree (free) or GitHub app (free).

You also have 2 options with each project. You can create a project from scratch and push it to your GitHub account on your own, or you can fork the repositories we provide and update them with your code.

Resources:

  • Before you start here, read the "Setup & Git" intro.
  • Get familiar with Xcode by creating your first Xcode project. Follow along with CodeWithChris.com Part 1 and Part 2.

Step 1: Download Xcode

  • Gotta have Xcode. If you don't, go download it from the App Store now. It doesn't matter if you're using 5 or 6, but we'll use 6 in class.

Step 2: Start your project

Option 1: Create the project in Xcode

  • In the launch view of Xcode click Create A New Project or click File->New->New Project
  • Store it in a 'code' folder (developer hint)
  • We actually only care about an Empty application for the next few projects. Xcode 6 removes this option, so you can create a Single View Application if you want.
  • In GitHub create a repository on your account called AGoodStart
  • Xcode already created the repository for you, and created an initial commit
  • Navigate to the project folder via terminal (here is a tutorial if you don't know how)
  • Get the https url on the right side of your project window
  • Then add the remote repository and push to it:
    • git remote add origin [email protected]:my_project.git [this is your project url]
    • git push -u origin master

Option 2: Clone this project down to your computer

  • In GitHub click the "Fork" button on the upper right corner of this project
  • Navigate in terminal to where you want to put the project (hopefully a special folder just for 'code')
  • Get the https url on the right side of your project window
  • Then clone down the folder:

Step 3: Hello World

  • You should have an AppDelegate file to work with (.swift or .m file is where we'll be working)
  • You may wonder where to write code. When the application finishes launching it will start in the AppDelegate and call the "didFinishLaunchingWithOptions" method. You'll put code in there.
  • In the AppDelegate file add a line to print the words "Hello World" to the console.
  • Commit and push your code to GitHub
    • git add .
    • git commit -m “Add log Hello World”

Completion:

  • Not much should happen. In fact, the iPhone Simulator should be blank. For our pre-course projects, you'll be looking in the console of Xcode to see the results. You should see 'Hello World' printed in the bottom pane of Xcode.
  • Feel free to print anything you want. The point of this project is to make sure you have a working Xcode and that you can get through the Git workflow.
  • You'll share your repo of this project (and all of the others throughout the course) with your mentor

agoodstart's People

Contributors

calebhicks avatar cronocide avatar jkhowland avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.