A simple and flexible animation component fully written in Swift

TTouchAnimatedButton

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.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

TTouchAnimatedButton is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'TTouchAnimatedButton'

Usage

import TTouchAnimatedButton

Just initial TTouchAnimatedButton to use, and you get the animation attachment.

let animatedButton = TTouchAnimatedButton()

Requirements

  • iOS 9.3 or later
  • Swift 5.0 or later

Author

fanta1ty, thinhnguyen12389@gmail.com

License

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

GitHub

View Github