ADArrowButton
Flat arrow button.
Install / Use
/learn @Antondomashnev/ADArrowButtonREADME
ADArrowButton
ADArrowButton is a Swift UIControl component like an "arrow flat style" UIButton. It could be enabled or disabled with nice spring animation.

Requirements
- iOS 7.0+
- Facebook POP - our smooth animation provider =)
Adding ADArrowButton to your project
- Add the ADArrowButton.swift file to your project.
- Install Facebook POP
Usage
ADArrowButton is @IBDesignable and has @IBInspectable properties listed below:
arrowDirection- it could be Left, Right, Top, Bottom arrowlineColorhighlightedBackgroundColornormalBackgroundColorhighlightedLineColorlineWidthinsetTopinsetLeftinsetRightinsetBottomenabled
To animatedly enable or disable it just calls this method
@IBOutlet var arrowButton: ADArrowButton!
...
self.arrowButton.setEnabled(!self.arrowButton.enabled, animated: true)
License
This code is distributed under the terms and conditions of the MIT license.
