gra

GranibleLabel

Veeeeeeeeeeeeeeeery easy to use and simple gradation animate Label

Showing:

Popularity

Downloads/wk

0

GitHub Stars

40

Maintenance

Last Commit

2yrs ago

Contributors

0

Package

Dependencies

0

License

MIT

Categories

Readme

titleGraniblelabelFullColor

Designed by yoon


GranibleLabel

Swift Platform License

topleftrightbottom
top.gifleft.gifright.gifbottom.gif
leftTopDiagonalleftBottomDiagonalrightTopDiagonalrightBottomDiagonal
leftTopDiagonal.gifleftBottomDiagonal.gifrightTopDiagonal.gifrightBottomDiagonal.gif

Install

pod 'GranibleLabel'

Example

Up to 4 colors can be set. Up to three colors available in infinity mode.

  • Set no animation normal gradient
/* 
* .bottom, .leftTopDiagonal, etc...
*/ 
let label = GranibleLabel()
label.colors = [UIColor.red, UIColor.orange]
  • Set animation direction
/* 
* direction = .bottom, .leftTopDiagonal, etc...
* animate default = false
*/
label.direction = .top
label.animate = true
  • Set infinity mode
label.direction = .top
label.animate = true
label.infinity = true
  • Set reverse mode
/* 
* autoreverses default = false
*/
label.direction = .top
label.animate = true
label.reverse = true
  • And other settings
/*
* You can use it just like a normal UILabel.
*/
label.text = "label"
label.textAlignment = .center
label.font = .boldSystemFont(ofSize: 10)
label.numberOfLines = 2

License

GranibleLabel is available under the MIT license. See the LICENSE file for more info.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100