Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.

wzbozon/DKActivityButton

Repository files navigation

DKActivityButton

CI Status Version License Platform

iOS UIButton subclass with activity indicator in form of spinning UIImageView. To change spinning circle image just change "preloader" image in your assets.

It has only one property - loading. All other properties can be set as for regular UIButton.

I use this control with ReactiveCocoa. Written in Objective C.

Example

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

Animation

ScreenShot

Requirements

Tested on iOS 8 and higher.

Installation

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

pod 'DKActivityButton'

Author

Dennis Kutlubaev, kutlubaev.denis@gmail.com

License

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

About

iOS UIButton subclass with activity indicator in form of spinning UIImageView

Resources

License

Stars

Watchers

Forks

Packages

No packages published