/FlickManager

FlickManager was created to replace button interactions on Popup or Card views and make it a little more interactive.

Primary LanguageSwiftMIT LicenseMIT

FlickManager

[![CI Status](http://img.shields.io/travis/Charles Vinette/FlickManager.svg?style=flat)](https://travis-ci.org/Charles Vinette/FlickManager) Version License Platform

Usage

//Create the view you want to use the flick manager on
  let vc = UIViewController()
//Create the FlickManager with the previously created VC  
  let vcWithFlickManager = FlickManager(vc)
//You can then configure the Right and Left Button, and add their targets (.TouchUpInside is Mandatory), and add their //constraints
  vcWithFlickManager.rightButton.setImage(bla bla bla)
  vcWithFlickManager.rightButton.addTarget(bla bla bla, .TouchUpInside)
  vcWithFlickManager.rightButtonSize = 100
//Then, Display the vcWithFlickManager
self.presentViewController(vcWithFlickManager)

Requirements

iOS 8 and Higher

Installation

FlickManager is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "FlickManager"

Author

Charles Vinette, vinettecharles@gmail.com

License

FlickManager is available under the MIT license. See the LICENSE file for more info.