SwiftyStepper
Examples
Installation
SwiftyStepper is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'SwiftyStepper'
Requirements
- iOS 15.0
- Swift 5.0
- Xcode 13.0
Usage
Add a UIView to your Storyboard.
Change the ‘class’ to ‘SwiftyStepper’.
Customize within the Attributes Inspector.
Create & connect the IBAction for valueChanged.
import UIKit
import SwiftyStepper
class ViewController: UIViewController {
@IBAction func stepperValueChanged(_ sender: SwiftyStepper) {
print("Value Changed to: \(sender.value)")
}
}
Customize
Attributes Inspector:
Author
JamesSedlacek, [email protected]
License
SwiftyStepper is available under the MIT license. See the LICENSE file for more info.