FluidHighlighter

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

FluidHighlighter

Usage

Highlighting enable

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

Highlighting disable

view.fh.disable()
control.fh.disable()
Swift

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 'MyApp' do
    pod 'FluidHighlighter'
end
Ruby

Carthage (iOS 8+)

github "k-lpmg/FluidHighlighter"
Ruby

GitHub

Fluid Interface based highlighting effect on UIView and UIControlRead More

Latest commit to the master branch on 7-12-2019
Download as zip