A Swift iOS stepper control that displays its current value between the increment and decrement buttons.
ValueStepper is a custom iOS UI control that replicates and improves upon Apple's UIStepper by integrating a visible numeric value display. It solves the problem of UIStepper not showing its current value, eliminating the need for developers to add a separate UILabel. The control allows users to increment or decrement a value while seeing it update in real-time.
iOS developers building apps that require numeric input controls, such as settings panels, product configurators, or any interface where users need to adjust a value within a range.
Developers choose ValueStepper because it provides a drop-in replacement for UIStepper with built-in value display, reducing UI boilerplate. Its extensive customization options and support for both Storyboard and code-based setup make it a flexible and time-saving solution.
A Stepper object that displays its value.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Shows current numeric value in a centered label, eliminating the need for a separate UILabel as stated in the README, reducing UI boilerplate.
Allows users to tap the label and enter values via keyboard when enableManualEditing is true, enhancing user interaction flexibility.
Offers inspectable properties for colors, backgrounds, and formatting via Storyboard, with options like highlightedBackgroundColor and labelTextColor.
Holding buttons continuously changes the value every 0.1s when autorepeat is enabled, improving usability for rapid adjustments.
Configurable both visually in Interface Builder and programmatically in Swift, with @IBAction support for ValueChanged events.
Requires selecting the correct branch for different Swift versions (e.g., Swift 4.2, 5.0), adding setup complexity and potential maintenance issues.
Has fixed default dimensions (width 141, height 29) that may not adapt to all designs without additional customization, as noted in the README.
Missing features like custom button icons, advanced accessibility support, or SwiftUI compatibility, limiting use in modern or specialized apps.
Adds external dependency via CocoaPods or Carthage, which might not be ideal for projects aiming to minimize external libraries.