Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.16 KB

Setup.md

File metadata and controls

47 lines (32 loc) · 1.16 KB

Tutorial setup instructions

The easiest way to complete the Blueprint tutorials is to use the sample app included with the project.

  1. Clone the Blueprint repo
git clone [email protected]:square/Blueprint.git
cd Blueprint
  1. CocoaPods

The sample app uses CocoaPods to integrate dependencies. First, we'll make sure CocoaPods and all of its dependencies are installed.

bundle install

Next, we'll use CocoaPods to integrate the workspace that we will use for completing the tutorials.

cd SampleApp
bundle exec pod install

Finally...

open SampleApp.xcworkspace
  1. Code!

The SampleApp project contains multiple app targets. SampleApp is a standalone demonstration of Blueprint. The project also contains targets for each tutorial (along with a target showing the tutorial in its completed state).

SampleApp
Tutorial 1
Tutorial 1 (Completed)
/// etc...

To follow along with Tutorial 1, navigate to Tutorials > Tutorial 1 in the project navigator to see the source code. Also be sure to select the Tutorial 1 target before building so you can see the tutorial running in the simulator.