Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Latest commit

 

History

History
46 lines (30 loc) · 1.42 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.42 KB

FlowBarButtonItem

Bar Button Item that can be moved anywhere in the screen, like Android's stickers button.

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

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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

use_frameworks!
pod "FlowBarButtonItem"

How to use.

import FlowBarButtonItem
let right = FlowBarButtonItem(image: UIImage(named: "image"), style: .Done, target: self, action: "rightAction:")
navigationItem.rightBarButtonItem = right
right.enableFlow()

Author

Tomoya Hirano, [email protected]

License

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