All Projects → egmoll7 → Emspinnerbutton

egmoll7 / Emspinnerbutton

Licence: mit
UIButton sublcass with loading animation

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Emspinnerbutton

Transitionbutton
UIButton sublass for loading and transition animation.
Stars: ✭ 1,124 (+860.68%)
Mutual labels:  cocoapods, button, uibutton
Loaderbutton
LoaderButton is a very interesting animation loading button.
Stars: ✭ 19 (-83.76%)
Mutual labels:  cocoapods, uibutton
Pmsuperbutton
🔥 PMSuperButton is a powerful UIButton coming from the countryside, but with super powers! 😎
Stars: ✭ 653 (+458.12%)
Mutual labels:  button, uibutton
Hhcustomcorner
Awesome library to customize corners of UIView and UIButton. Now you can customize each corner differently
Stars: ✭ 36 (-69.23%)
Mutual labels:  button, uibutton
Ssspinnerbutton
Forget about typical stereotypic loading, It's time to change. SSSpinnerButton is an elegant button with a diffrent spinner animations.
Stars: ✭ 357 (+205.13%)
Mutual labels:  cocoapods, uibutton
Ppcounter
iOS与macOS中一款优雅的数字/金额增减动效组件
Stars: ✭ 451 (+285.47%)
Mutual labels:  cocoapods, uibutton
Aaviewanimator
AAViewAnimator is a set of animations designed for UIView, UIButton, UIImageView with options in iOS, written in Swift.
Stars: ✭ 33 (-71.79%)
Mutual labels:  cocoapods, uibutton
AnimatedButton
UIButton subclass which performs animation on selection
Stars: ✭ 16 (-86.32%)
Mutual labels:  uibutton, button
Sizeslidebutton
A fun Swift UIControl for picking a size
Stars: ✭ 46 (-60.68%)
Mutual labels:  cocoapods, button
Progressbutton
Custom ProgressButton
Stars: ✭ 52 (-55.56%)
Mutual labels:  button, uibutton
Swifticonfont
Icons fonts for iOS (Font Awesome 5, Iconic, Ionicon, Octicon, Themify, MapIcon, MaterialIcon, Foundation 3, Elegant Icon, Captain Icon)
Stars: ✭ 1,094 (+835.04%)
Mutual labels:  cocoapods, uibutton
Efcountinglabel
Adds animated counting support to UILabel.
Stars: ✭ 311 (+165.81%)
Mutual labels:  cocoapods, button
TezButton
TezButton is include Title/Backgound Color, border, corner radius options and Bottom/Left label, Include data button.
Stars: ✭ 20 (-82.91%)
Mutual labels:  uibutton, button
Haptica
Easy Haptic Feedback Generator 📳
Stars: ✭ 587 (+401.71%)
Mutual labels:  cocoapods, uibutton
RTIconButton
A Interface Builder configurable UIButton with a image icon
Stars: ✭ 40 (-65.81%)
Mutual labels:  uibutton, button
Ppnumberbutton
iOS中一款高度可定制性商品计数按钮(京东/淘宝/饿了么/美团外卖/百度外卖样式)
Stars: ✭ 845 (+622.22%)
Mutual labels:  cocoapods, button
Lgbutton
A fully customisable subclass of the native UIControl which allows you to create beautiful buttons without writing any line of code.
Stars: ✭ 2,216 (+1794.02%)
Mutual labels:  button, uibutton
Closures
Swifty closures for UIKit and Foundation
Stars: ✭ 1,720 (+1370.09%)
Mutual labels:  cocoapods, uibutton
Ftpopovermenu
FTPopOverMenu is a pop over menu for iOS which is maybe the easiest one to use. Supports both portrait and landscape. It can show from any UIView, any UIBarButtonItem and any CGRect.
Stars: ✭ 988 (+744.44%)
Mutual labels:  cocoapods, button
Dtgradientbutton
Easy way to set gradient background to your buttons.
Stars: ✭ 76 (-35.04%)
Mutual labels:  cocoapods, uibutton

Icon

Language license CocoaPods GitHub stars CocoaPods

EMSpinnerButton is an elegant button with a spinner animation and is fully customizable.
Inspired by the Starbucks app

Icon

Table of Contents

Features

  • [x] Title
  • [x] Gradient Background (Optional)
  • [x] Various animations
  • [x] Fully Customizable
  • [x] CocoaPods

Requirements

  • iOS 9.0+
  • Xcode 9+

Installation

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate EMSpinnerButton into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!

target '<Your Target Name>' do
pod 'EMSpinnerButton'
end

Then, run the following command:

$ pod install

Usage

In the storyboard add a UIButton and change its class to EMSpinnerButton

Animations

Collapse

// Collapse animation
button.animate(animation: .collapse)

Expand

// Expand animation
button.animate(animation: .expand)

Shake

// Shake animation
button.animate(animation: .shake)

Customization

Button Title

button.title = "LOGIN"
// Default title = nil

Corner Radius

button.cornerRadius = button.frame.height/2
// Default corner radius = 0

Title Color

button.titleColor = UIColor.red
// Default color = UIColor.white

Background Color

button.backgroundColor = UIColor.white
// Default color = UIColor(red: 49/255, green: 177/255, blue: 229/255, alpha: 1.0)

Background Gradient Color

button.gradientColor = UIColor.white
// Default colors = nil

Spinner Color

button.spinnerColor = UIColor.lightGray.cgColor
// Default color = UIColor.white.cgColor

License


EMSpinnerButton is available under the MIT license. See the LICENSE file for more info.

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].