All Projects → imwcl → Wclshinebutton

imwcl / Wclshinebutton

Licence: mit
This is a UI lib for iOS. Effects like shining.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Wclshinebutton

Windowscompositionsamples
Windows Composition Samples the place for getting the latest code samples and demos using Windows.UI.Xaml and Windows.UI.Composition to make beautiful Universal Windows Platform applications.
Stars: ✭ 922 (-31.96%)
Mutual labels:  effects
Android Scratchoutview
高仿刮奖效果的View 可以设置刮开多少比例范围 自动显现 - Scratch card effect view , and can set the scraping what percentage range automatically displayed below ui
Stars: ✭ 49 (-96.38%)
Mutual labels:  effects
Cats Effect
The pure asynchronous runtime for Scala
Stars: ✭ 1,147 (-15.35%)
Mutual labels:  effects
Kitten
A statically typed concatenative systems programming language.
Stars: ✭ 851 (-37.2%)
Mutual labels:  effects
Hyperion.ng
The successor to Hyperion aka Hyperion Next Generation
Stars: ✭ 1,008 (-25.61%)
Mutual labels:  effects
Lax.js
Simple & lightweight (<4kb gzipped) vanilla JavaScript library to create smooth & beautiful animations when you scroll.
Stars: ✭ 8,274 (+510.63%)
Mutual labels:  effects
Postprocessing
A post processing library that provides the means to implement image filter effects for three.js.
Stars: ✭ 830 (-38.75%)
Mutual labels:  effects
Nanoleaf Desktop
A modern desktop application for the Nanoleaf Aurora and Canvas
Stars: ✭ 90 (-93.36%)
Mutual labels:  effects
Minipaint
online image editor
Stars: ✭ 1,014 (-25.17%)
Mutual labels:  effects
React Scrolling Effect
Scrolling Effect Concept
Stars: ✭ 64 (-95.28%)
Mutual labels:  effects
Ngrx French Guide
Le guide sur l'utilisation de NGRX dans une application Angular
Stars: ✭ 31 (-97.71%)
Mutual labels:  effects
Fx Ts
Computational environments and effects for TypeScript
Stars: ✭ 42 (-96.9%)
Mutual labels:  effects
Retc
An application used to convert razer effects to multiple output sdks.
Stars: ✭ 54 (-96.01%)
Mutual labels:  effects
Crrefresh
An easy way to use pull-to-refresh
Stars: ✭ 832 (-38.6%)
Mutual labels:  effects
Xamarincommunitytoolkit
The Xamarin Community Toolkit is a collection of Animations, Behaviors, Converters, and Effects for mobile development with Xamarin.Forms. It simplifies and demonstrates common developer tasks building iOS, Android, and UWP apps with Xamarin.Forms.
Stars: ✭ 1,189 (-12.25%)
Mutual labels:  effects
Entitypostprocessor2d
A unity package for applying post-processing effects to assembled 2D assets
Stars: ✭ 17 (-98.75%)
Mutual labels:  effects
Kino
A collection of custom post processing effects for Unity
Stars: ✭ 1,054 (-22.21%)
Mutual labels:  effects
Pizzicato
Library to simplify the way you create and manipulate sounds with the Web Audio API.
Stars: ✭ 1,296 (-4.35%)
Mutual labels:  effects
Pfun
Functional, composable, asynchronous, type-safe Python.
Stars: ✭ 75 (-94.46%)
Mutual labels:  effects
Forgefx
Algebraic effects and handlers using generators
Stars: ✭ 58 (-95.72%)
Mutual labels:  effects

WCLShineButton

Version License Platform Support  Language

This is a UI lib for iOS. Effects like shining.

Chinese (Simplified):

中文说明

博客介绍

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

CSDN

Code Reference

ShineButton

License

WCLShineButton is released under the MIT license. See LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].