Installation
October 22, 2013 · View on GitHub
You can install PKRevealController either using CocoaPods or the static library. Please note, that the CocoaPods version will always be the most stable, whilst the static library will include the most recent changes, bug fixes and features.
CocoaPods
Simply add pod 'PKRevealController' to your Podfile, execute a pod update and #import <PKRevealController/PKRevealController.h>.
Static Library
-
Add the repository as a submodule.
git submodule add https://github.com/pkluz/PKRevealController.git -
Drag and drop
Source/PKRevealController.xcodeprojinto your project or workspace.
-
In your project settings, link against
libPKRevealController.a.
-
In your project build settings, add
-ObjCto yourOther Linker Flags.
-
Add the contents of the
Headers/directory into your project (Note: Make sure to uncheck 'Copy items into destination…' and check your project's target).
-
#import "PKRevealController.h"wherever you require it or just once in your project's .pch file.