Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 820 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 820 Bytes

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