TVButton alternatives and similar libraries
Based on the "Button" category.
Alternatively, view TVButton alternatives based on common mentions on social networks and blogs.
-
Hamburger button transition
Hamburger button transition. -
LGButton
A fully customisable subclass of the native UIControl which allows you to create beautiful buttons without writing any line of code. -
NFDownloadButton
Revamped Download Button. It's kinda a reverse engineering of Netflix's app download button. -
AHDownloadButton
Customizable download button with progress and transition animations. It is based on Apple's App Store download button. -
SimpleButton
Simple UIButton subclass with additional state change animations (e.g. backgroundColor) and missing features -
DesignableButton
A Custom UIButton with Centralised Styling and common styles available in Interface Builder -
MultiToggleButton
A UIButton subclass that implements tap-to-toggle button text. (Like the camera flash and timer buttons.) -
NxEnabled
Library which allows you binding `enabled` property of button with textable elements (TextView, TextField)
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of TVButton or a related project?
README
TVButton
Recreating the cool parallax icons from Apple TV as iOS UIButtons (in Swift). The effect is triggered by long pressing or dragging.
Usage
Import TVButton at the top of your Swift ViewController.
import TVButton
Create and position your TVButton in interface builder or in code.
For the parallax TVButton you will need at least two layers of images (three recommended). For best results, the button and the images should all have the same dimensions. Assign the relevant UIImages to TVButtonLayers and provide them as a layers array to the TVButton.
let background = TVButtonLayer(image: UIImage(named: "TVButtonBackground.png")!)
let pattern = TVButtonLayer(image: UIImage(named: "TVButtonPattern.png")!)
let top = TVButtonLayer(image: UIImage(named: "TVButtonTop.png")!)
tvButton.layers = [background, pattern, top]
You can customize the parallax intensity of your TVButton. Default value is 1.0 and it's very subtle. Maximum recommended value is 2.0.
tvButton.parallaxIntensity = 1.3
Enjoy!
Setting up with CocoaPods
source 'https://github.com/CocoaPods/Specs.git'
pod 'TVButton', '~> 1.0'
Setting up with Carthage
Carthage is a decentralized dependency manager that automates the process of adding frameworks to your Cocoa application.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate TVButton into your Xcode project using Carthage, specify it in your Cartfile
:
github "marmelroy/TVButton"