From 249d59eb8708786ec392daaf9e11a15792de21b5 Mon Sep 17 00:00:00 2001 From: Mike Enriquez Date: Thu, 5 Apr 2012 21:03:52 -0400 Subject: [PATCH] CocoaPods instructions --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7679b67..80f2e30 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ This project is an example app that showcases the uses for `ECSlidingViewControl This section will walk through of a simplified version of the included example app. You'll see how to setup the top view that can be panned to the right side to reveal the under left view. -### Copy ECSlidingViewController into your project +### Include ECSlidingViewController into your project You'll need these four files: @@ -35,6 +35,10 @@ You'll need these four files: * ECSlidingViewController/Vendor/ECSlidingViewController/UIImage+ImageWithUIView.h * ECSlidingViewController/Vendor/ECSlidingViewController/UIImage+ImageWithUIView.m +OR - you can use [CocoaPods](http://cocoapods.org/). Add the following line to your Podspec: + + dependency 'ECSlidingViewController', '~> 0.9.0' + ### Setup storyboards and set the topViewController Add a UIViewController to your storyboards and set the subclass to `ECSlidingViewController`. Then, you'll need to configure the instance of this view controller by setting a `topViewController`