JSButton alternatives and similar libraries
Based on the "Button" category.
Alternatively, view JSButton 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.
InfluxDB - Purpose built for real-time analytics at any 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 JSButton or a related project?
README
JSButton
Demo
$ pod try JSButton
...or clone this repo and build and run/test the JSButton
project in Xcode to see JSButton
in action. If you don't have CocoaPods installed, grab it with [sudo] gem install cocoapods
.
$ cd Example
$ pod install
$ open JSButton.xcworkspace
Requirements
- iOS 8.3+
- Xcode 9.0
- Swift 4.0
Installation
JSButton is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "JSButton"
Manual Installation
Just drag the JSButton.swift
files into your project.
IBDesignable
JSButton
includes IBInspectable
annotations to enable configuring the label inside Interface Builder. However, if you see these warnings when building...
IB Designables: Failed to update auto layout status: Failed to load designables from path (null)
IB Designables: Failed to render instance of JSButton: Failed to load designables from path (null)
...then you are likely using JSButton
as a static library, which does not support IB annotations. Some workarounds include:
- Install
JSButton
as a dynamic framework using CocoaPods withuse_frameworks!
in yourPodfile
, or with Carthage - Install
JSButton
by dragging its source files to your project
Usage
Creating a view from the storyboard
If you already have a Label where you want to use then set it's
class
toJSButton
in identity inspector.Or drag a Button from object library and then change it's
class
toJSButton
in identity inspector.Set the
module
property toJSButton
.
- Customize the view properties in the attributes inspector.
Add action to button
To add action to your button just use .action
you dont have to add Target and then handler function.
yourButton.action {
print("Button Pressed!")
}
Author
Jogendra Singh
What's next
- Any suggestions?
Contribution
- If you found a bug, open an issue
- If you have a feature request, open an issue
- If you want to contribute, submit a pull request
- If you have any issue or want help, please drop me a mail on [email protected]
License
JSButton is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the JSButton README section above
are relevant to that project's source code only.