From 086d109c369e971d6344961f58eabba74f2d1168 Mon Sep 17 00:00:00 2001 From: Shea Clark-Tieche Date: Thu, 7 Jul 2016 11:27:34 -0500 Subject: [PATCH 1/3] Update readme to include installing rbenv, ruby, and cocoapods --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 516225a..c262e5e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,14 @@ # iOS +## 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 xcode * clone repo: `git@github.com:Cramsden/iOS.git` From 2477e1a924799d3bef658c5ae0f09fca5a13904b Mon Sep 17 00:00:00 2001 From: Shea Clark-Tieche Date: Sun, 10 Jul 2016 23:01:16 -0500 Subject: [PATCH 2/3] updating README to reflect workshop --- README.md | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c262e5e..d7e120c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ -# iOS +# iOS Workshop Part II +## 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 @@ -9,9 +14,38 @@ ### With Ruby already installed: * Install CocoaPods: `gem install cocoapods` -## Setting up xcode +## Setting up Project +### Install Xcode +* Download Xcode from the Apple App Store +### Clone Repo * clone repo: `git@github.com: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 +* https://www.objc.io/issues/13-architecture/mvvm/ +* http://artsy.github.io/blog/2015/09/24/mvvm-in-swift/ + +### Quick/Nimble Testing +* https://github.com/Quick/Quick/blob/master/Documentation/en-us/TestingApps.md +* https://github.com/Quick/Nimble + +### Reactive Cocoa +* http://ifnotapps.com/2013/07/25/reactivecocoa-from-the-ground-floor-part1/ + + From d7b202ddf1100ca5d7d6ca9d714052fa5438b04b Mon Sep 17 00:00:00 2001 From: Shea Clark-Tieche Date: Sun, 10 Jul 2016 23:05:11 -0500 Subject: [PATCH 3/3] adding next branch --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d7e120c..6c34e43 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# iOS Workshop Part II +# iOS Workshop Part II (Starting Point) ## Prerequisites * A basic understanding of Swift * Ability to create a basic, single-view app @@ -48,4 +48,6 @@ ### Reactive Cocoa * http://ifnotapps.com/2013/07/25/reactivecocoa-from-the-ground-floor-part1/ +# Next Branch: `listWithDetails` +