Coder Social home page Coder Social logo

new_dawn_ios_playground's Introduction

New Dawn iOS Repo

iOS repository for project New Dawn

Project Wireframes

Screenshot Screenshot Screenshot Screenshot Screenshot Screenshot

Prep

Take a look at these videos to get familiar with iOS/Swift development:

  1. First App: https://www.youtube.com/watch?v=xsohzfdeDng. This covers basics about Xcode, ViewController and UI Elements. You should download Xcode and try it out on yourself to make sure you can rock with Xcode before going to next tutorials.
  2. UI Views & Constraint: https://www.youtube.com/watch?v=aiXvvL1wNUc. This tutorial covers basics aruond Constraints and StackView. Our app also has extensive constraints and more complex views such as ImageView, TableView, CollectionView, etc. But you don't need to know them until you are going to work on one of them.
  3. Segue Basics (Connect and pass data between two views): https://www.youtube.com/watch?v=uKQjJb-KSwU. This teaches you how one view passes data to another.
  4. Install Cocoapods: https://www.youtube.com/watch?v=MuMZZtQpB6Y. Cocoapods contains all extension library we use within the app. You should install it and run 'pod install' frequently in our repository to update the libraries we use (see below for details).
  5. Send GET/POST request to fetch and send data to our server in Swift: https://www.youtube.com/watch?v=YY3bTxgxWss

Repository Setup

  1. Clone the repo to your local machine by running git clone https://github.com/new-dawn/new_dawn_ios_playground.git in your terminal. You should run git pull --rebase origin master frequently so you can keep your local repo in sync with Github master branch. After the first time you clone the repo, you should go to new_dawn_ios_playground/NewDawn directory, and run pod install to install required depencency.
  2. In your local repo, run git branch <feature_name> and git checkout <feature_name> to create your own branch whenever you are starting a new feature.
  3. Open new_dawn_ios_playground/NewDawn/NewDawn.xcworkspace in Xcode to start development within your branch.
  4. If you want to push your change, you can run git add -A in the terminal (from new_dawn_ios_playground folder) to include all your local changes. Then run git commit -m "<some message>" to commit your changes locally.
  5. Run git push origin <feature_name> to push your local changes to your own branch on Github.
  6. Go to Github page, create Pull Request when you are ready to merge your branch with master by clicking on "New pull request" on Github page.
  7. After your pull request is accepted by any code reviewer, you can click on "Merge pull request" to merge your branch with master. Then in your command line, you can run git checkout master to go to master branch, and run git pull --rebase origin master to update your local repository to the latest master branch. Then you can create a new branch to develop new features.

FAQ

  1. Why am I not able to install my app from Xcode to my iPhone? For app development on the new iOS 12.2, you will need to run both macOS Mojave 10.14 and Xcode version 10.2.1 on your laptop. Try to update your macOS and Xcode to the lastest version if similar problems occur in the future.
  2. How to use keyboard in Simulator If you cannot find your keyboard in iOS simulator, try "command+shift+k".

new_dawn_ios_playground's People

Contributors

tangziyi001 avatar duckmoll avatar reallljanice avatar shaowenxu avatar tianchuxie avatar

Watchers

James Cloos 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.