TTouchAnimatedButton is a simple and flexible animation component fully written in Swift. TTouchAnimatedButton is developed to make user feel button click becomes more vivid and realistic.
To run the example project, clone the repo, and run pod install
from the Example directory first.
TTouchAnimatedButton
is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'TTouchAnimatedButton'
Second, install TProgressHUD
into your project:
pod install
TTouchAnimatedButton
is designed for Swift 5. To depend on the logging API package, you need to declare your dependency in your Package.swift
.package(url: "https://github.com/fanta1ty/TTouchAnimatedButton.git", brand: "master"),
import TTouchAnimatedButton
Just initial TTouchAnimatedButton
to use, and you get the animation attachment.
let animatedButton = TTouchAnimatedButton()
- iOS 11.0+
- Swift 5
fanta1ty, thinhnguyen12389@gmail.com
TTouchAnimatedButton is available under the MIT license. See the LICENSE file for more info.