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.
To run the example project, clone the repo, and run
pod install from the Example directory first.
Tested on iOS 8 and higher.
DKActivityButton is available through CocoaPods. To install it, simply add the following line to your Podfile:
Dennis Kutlubaev, firstname.lastname@example.org
DKActivityButton is available under the MIT license. See the LICENSE file for more info.