Code Monkey home page Code Monkey logo

ios's Introduction

iOS Workshop Part II (Starting Point)

Prerequisites

  • A basic understanding of Swift
    • Ability to create a basic, single-view app
  • Project enviornment set up, see below
  • At least 1 reading from the list below

Installing CocoaPods

Without latest ruby installed (currently 2.3.1):

  • Install rbenv if you do not have it already: brew install rbenv
  • Install most recent, stable version of ruby: rbenv install 2.3.1

With Ruby already installed:

  • Install CocoaPods: gem install cocoapods

Setting up Project

Install Xcode

  • Download Xcode from the Apple App Store

Clone Repo

  • clone repo: [email protected]:Cramsden/iOS.git
  • run ./RestExample/scripts/bootstrap
  • open the project: open RestExample/HelloRest.xcworkspace

Start the server

  • From the main directory, cd server
  • Install dependencies, npm install
  • Start server, npm start

Workshop Agenda

  1. Walkthrough, build familiarity with existing code and functionality (Group)
  2. Add the phone number of each contact as the cell description. Do this without refactoring the current service method getAllPeople() but instead by building a new one for the /listAll endpoint. The code should look very similar to how the data for /list is fetched and displayed. (pairs)
  3. Walkthrough transitioning to a new view by tapping on a cell (Group)
  4. Build out service method that retreieves data from /personByID endpoint (Pairs)
  5. Use ReactiveCocoa to build out a ViewController and ViewModel using signals (Group)
  6. Display the data returned from /personByID on the UI using the signals implemented as a group (Pairs)

Readings

MVVM

Quick/Nimble Testing

Reactive Cocoa

Next Branch: listWithDetails

ios's People

Contributors

sclark01 avatar vpalivela avatar

Watchers

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