No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Assets
Example
Source
.gitignore
LICENSE
README.md
TTProgressButton.podspec
tweet_button_style_1.gif
tweet_button_style_2.gif

README.md

TTProgressButton

A custom circular UIButton which has a progress border indicator. It is designed to animate an array of images while indicating the progress. You can set the speed of the image animation and change the appearance of the button. The example shows how the button can be used while sending a tweet.

Version License Platform

Example Style 1 Example Style 2

Setup

Installing with CocoaPods

If you're unfamiliar with CocoaPods there is a great tutorial here to get you up to speed.

  1. In Terminal navigate to the root of your project.
  2. Run 'touch Podfile' to create the Podfile.
  3. Open the Podfile using 'open -e Podfile'
  4. Add the pod TTProgressButton to your Podfile.
pod 'TTProgressButton'
  1. Run pod install.
  2. Open your app's .xcworkspace file to launch Xcode and start using the control!

Installing manually from GitHub

  1. Download the TTProgressButton.h, TTProgressButton.m, UIImage+Alpha.h and UIImage+Alpha.m files from the Source folder and add them to your Xcode project.
  2. Download the TwitterBird_1-6 files from the Assets folder and add them to your Xcode project.
  3. #import TTProgressButton.h wherever you need it.
  4. Follow the included sample project to get started.

Author

Valentin Kalchev

Ross Gibson

Triggertrap Limited

License

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