Skip to content

alkhokhlov/ProgressButton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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