CocoaPods instructions

This commit is contained in:
Mike Enriquez
2012-04-05 21:03:52 -04:00
parent 77409f7b8a
commit 249d59eb87

View File

@@ -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`