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`