Get Updates By E-mail 

Article Written By:
Johann Dowa

WCLShineButton – Swift UI Component For Creating Buttons With Customizable Animated Effects On Press

  •  
  •  
  •  
  •  
  •  

WCLShineButton is an open source Swift UI component allowing you to easily create buttons with interesting animated effects on press.

With WCLShineButton you can create animated shine effects with flashing, image based particles, colors,and fully customize the actual effects.

This snippet from the readme shows how to create a custom button with WCLShineButton:

var param1 = WCLShineParams()
param1.bigShineColor = UIColor(rgb: (153,152,38))
param1.smallShineColor = UIColor(rgb: (102,102,102))
let bt1 = WCLShineButton(frame: .init(x: 100, y: 100, width: 60, height: 60), params: param1)
bt1.fillColor = UIColor(rgb: (153,152,38))
bt1.color = UIColor(rgb: (170,170,170))
bt1.addTarget(self, action: #selector(action), for: .touchUpInside)
view.addSubview(bt1)

This animation from the readme shows WCLShineButton in action:

WCLShineButton

You can find WCLShineButton on Github here.

A nice component for adding effects to iOS buttons.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments