Latest 1.0.0
Homepage https://github.com/k-lpmg/FluidHighlighter
License MIT
Platforms ios 8.0
Authors

Cocoapods
Carthage compatible
Swift
GitHub license

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

Introduction

FluidHighlighter

Usage

Highlighting enable

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

Highlighting disable

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

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

Carthage (iOS 8+)

github "k-lpmg/FluidHighlighter"

LICENSE

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

Latest podspec

{
    "name": "FluidHighlighter",
    "version": "1.0.0",
    "summary": "FluidHighlighter easily implements the Fluid Interface based highlighting effect on UIView and UIControl.",
    "homepage": "https://github.com/k-lpmg/FluidHighlighter",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "DongHee Kang": "[email protected]"
    },
    "source": {
        "git": "https://github.com/k-lpmg/FluidHighlighter.git",
        "tag": "1.0.0"
    },
    "documentation_url": "https://github.com/k-lpmg/FluidHighlighter/blob/master/README.md",
    "ios": {
        "source_files": "Sources/**/*.swift"
    },
    "platforms": {
        "ios": "8.0"
    }
}

Pin It on Pinterest

Share This