Skip to content

DavidBoyes/AlphaSlider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlphaSlider

A visual improvement of UISlider to be used to specify the alpha value of a color.

Features

  • Requires no images
  • Can be used with Interface Builder
  • Color property can be dynamically changed via code

Usage

Works just like a UISlider with the addition of a color property. This sets the backgrounds gradient color, the default is black. Set either directly in code or use the color property Interface Builder.

Installation

Either use the AlphaSlider.swift file directly by downloading and dragging it in to your Xcode project or use via Swift Package Manager.

dependencies: [
    .package(url: "https://github.com/DavidBoyes/AlphaSlider", from: "1.0.0")
]

Author

David Boyes

License

AlphaSlider is released under the MIT license. See LICENSE for details.

About

A visual improvement of UISlider for adjusting the alpha value of a colour

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages