RNLoadingButotn is based an easy-to-use UIButton subclass with an activity indicator.
Objective-C version RNLoadingButton.
The activity state is configurable and can hide the image or text while the activity indicator is displaying .
You can Also choose the position of easily activity indicator or Set It up with a spacing.
RNLoadingButton
RNLoadingButotn is based an easy-to-use UIButton subclass with an activity indicator. Objective-C version RNLoadingButton.
The activity state is configurable and can hide the image or text while the activity indicator is displaying . You can Also choose the position of easily activity indicator or Set It up with a spacing.
Adding RNLoadingButton
Swift Package Manager (SPM)
Open Swift Package Manager, copy https://github.com/souzainf3/RNLoadingButton-Swift to the search bar For version, you may use tags or master branch.
Cocoapods
pod 'RNLoadingButton'
pod install
.Manually
LoadingButton.swift
to your projectUsing RNLoadingButton
RNLoadingView
is available in Interface BuilderProperties
Loading state
Hide image when loading is visible
Hide text when loading is visible
Edge Insets to set activity indicator frame. Default is .zero
Activity Indicator Alingment. Default is ‘.center’
Activity Indicator style. Default is ‘.gray’
Color to activityIndicatorView. Default is ‘nil’
Apps using this control (send your to souzainf3@yahoo.com.br )