FluidHighlighter 2.0.0

FluidHighlighter 2.0.0

Maintained by DongHee Kang.



  • By
  • DongHee Kang

FluidHighlighter

Build Status Swift Cocoapods Carthage compatible

FluidHighlighter easily implements the Fluid Interface based highlighting effect on UIView and UIControl.

Introduction

Usage

Highlighting enable

view.fh.enable(normalColor: UIColor.white, highlightedColor: UIColor.gray)
control.fh.controlEnable(normalColor: UIColor.white, highlightedColor: UIColor.gray)

Highlighting disable

view.fh.disable()
control.fh.controlDisable()

Enable Parameters

Parameter Type Description
normalColor UIColor Background color
highlightedColor UIColor
selectedColor UIColor Background color of selected state, only in UIControl
highlightedOptions AnimationOptions
highlightedDelay TimeInterval
highlightedDuration TimeInterval

Installation

CocoaPods (iOS 8+)

platform :ios, '8.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'FluidHighlighter'
end

Carthage (iOS 8+)

github "k-lpmg/FluidHighlighter"

LICENSE

These works are available under the MIT license. See the LICENSE file for more info.