Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Latest commit

 

History

History
28 lines (18 loc) · 1.31 KB

INSTALLATION.md

File metadata and controls

28 lines (18 loc) · 1.31 KB

Installation

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

  1. Add the repository as a submodule.

    git submodule add https://github.com/pkluz/PKRevealController.git
    
  2. Drag and drop Source/PKRevealController.xcodeproj into your project or workspace. Image

  3. In your project settings, link against libPKRevealController.a. Image

  4. In your project build settings, add -ObjC to your Other Linker Flags. Image

  5. 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). Image

  6. #import "PKRevealController.h" wherever you require it or just once in your project's .pch file.