WCLShineButton alternatives and similar libraries
Based on the "Button" category.
Alternatively, view WCLShineButton alternatives based on common mentions on social networks and blogs.
-
LGButton
A fully customisable subclass of the native UIControl which allows you to create beautiful buttons without writing any line of code. -
PMSuperButton
🔥 PMSuperButton is a powerful UIButton coming from the countryside, but with super powers! 😎 -
ButtonProgressBar-iOS
A small and flexible (well documented) UIButton subclass with animated loading progress, and completion animation. -
NFDownloadButton
Revamped Download Button. It's kinda a reverse engineering of Netflix's app download button. -
JOEmojiableBtn
Since Facebook introduced reactions in 2016, it became a standard in several applications as a way for users to interact with content. ReactionButton is a control that allows developers to add this functionality to their apps in an easy way. -
FlowBarButtonItem
DISCONTINUED. Bar Button Item that can be moved anywhere in the screen, like Android's stickers button. -
DesignableButton
A Custom UIButton with Centralised Styling and common styles available in Interface Builder -
AnimatablePlayButton
Animated Play and Pause Button written in Swift, using CALayer, CAKeyframeAnimation. -
JSButton
A fully customisable swift subclass on UIButton which allows you to create beautiful buttons without writing any line of code.
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of WCLShineButton or a related project?
README
WCLShineButton
This is a UI lib for iOS. Effects like shining.
[](DemoGif.gif)
Chinese (Simplified):
[中文说明](README.zh.md)
博客介绍
CocoaPods
CocoaPods is the recommended way to add WCLShineButton
to your project.
Add a pod entry for WCLShineButton
to your Podfile.
pod 'WCLShineButton'
Second, install WCLShineButton
into your project:
pod install
Include WCLShineButton wherever you need it with import WCLShineButton
.
Carthage
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate WCLShineButton
into your Xcode project using Carthage, specify it in your Cartfile
:
github "imwcl/WCLShineButton"
Run carthage update
to build the framework and drag the built WCLShineButton.framework
(in Carthage/Build/iOS folder) into your Xcode project (Linked Frameworks and Libraries in Targets
).
Usage
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: .valueChanged)
view.addSubview(bt1)
Complex Usage
Property | Description |
---|---|
color |
Default button color |
fillColor |
Fill button color |
allowRandomColor |
Allow shine color random |
animDuration |
shine anim duration |
bigShineColor |
big shine color |
enableFlashing |
Enable effect like flash |
shineCount |
shine count around button |
shineTurnAngle |
turn angle of shine |
shineDistanceMultiple |
multiple of distance to button |
smallShineOffsetAngle |
angle offset of small shine to big shine |
smallShineColor |
small shine color |
shineSize |
size of shine by pixel |
colorRandom |
shine color random |
image |
button image (png) |
Contacts
[blog](http:blog.imwcl.com)
Code Reference
License
WCLShineButton is released under the MIT license. See LICENSE for details.
*Note that all licence references and agreements mentioned in the WCLShineButton README section above
are relevant to that project's source code only.