alkhokhlov / ProgressButton

Custom ProgressButton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ProgressButton

Custom button which you can simply use in your projects

  1. All you need is to download folder ProgressButton and import it to your project
  2. Add any UIButton on you controller and make 2x sized hieght button of expected height
  3. In Interface Builder assign class to any UIButton as ProgressButton
  4. Make IBOutlet of the button
  5. To start animation just call animate() method of the button
  6. Bind downloaded information to progress property

Also you could assign cornerRadius property

If you have problems, just look at the example of usage in ViewController.swift

Realization of own view on ProgressButton of this gif

About

Custom ProgressButton

License:MIT License


Languages

Language:Swift 100.0%