barceloneta alternatives and similar libraries
Based on the "Stepper" category.
Alternatively, view barceloneta alternatives based on common mentions on social networks and blogs.
GMStepper7.0 0.0 L4 barceloneta VS GMStepperA stepper with a sliding label in the middle.
SnappingStepper5.0 0.0 L4 barceloneta VS SnappingStepperAn elegant alternative to the UIStepper written in Swift
ValueStepper4.9 0.0 L5 barceloneta VS ValueStepperA Stepper object that displays its value.
PFStepper1.0 0.0 L5 barceloneta VS PFStepperMay be the most elegant stepper you have ever had!
SMNumberWheel1.0 0.0 L2 barceloneta VS SMNumberWheelSMNumberWheel is a subclass of UIControl written in Swift, which is ideal for picking numbers using a rotating wheel.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of barceloneta or a related project?
The right way to increment/decrement values
barceloneta is the right way to increment/decrement values with a simple gesture on iOS
- Customisation for timer and incremental values
- Easily customisable
- Horizontal/vertical mode
- Looping through values or not
- Customizable dragging limit
- Minimal/maximal values
- Complete Documentation
- iOS 9.0+
- Swift 3.0
- Xcode 8.0 or higher
- If you need help, use Stack Overflow. (Tag '#barceloneta')
- If you'd like to ask a general question, use Stack Overflow.
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, submit a pull request.
- If you use the control, contact me to mention your app on this page.
Barceloneta is now available on CocoaPods. Simply add the following to your project Podfile, and you'll be good to go.
use_frameworks! pod 'barceloneta', '~> 1.1'
You can integrate
barceloneta into your project manually.
Simply add the
Library/Barceloneta.swift source file directly into your project.
Enabling the gesture (EASY !)
To enable the gesture, it is required to have :
- A UIView object
- A NSLayoutConstraint applied to the view, for the vertical position of the view
- Timer/Incremental settings
- A delegate (optional)
//Initialise the gesture barcelonetaView.loops = true barcelonetaView.minimumValue = 0.0 barcelonetaView.maximumValue = 50.0 let timerSettings = [ (range: 0..<70, timer: 0.3, increment: 1.0), (range: 70..<120, timer: 0.2, increment: 2.0), (range: 120..<500, timer: 0.1, increment: 3.0) ] barcelonetaView.makeElastic(timerSettings: timerSettings, constraint: myNSLayoutConstraint axis: .vertical, delegate: self)
That's where the fun begins. Keep in mind that the goal of this library is only to manage the incrementation of values. The display should be managed by you.
Looping of values
Determines if the values will stop on minimumValue/maximumValue.
If looping is enabled, when the maximum value is reached, it will go back to the mimimum value.
barcelonetaView.loops = true/false
Determines the limits of the increment
barcelonetaView.minimumValue = 0.0 barcelonetaView.maximumValue = 50.0
This value defines the dragging limit of your
barceloneta object. If the user drags the view higher than this limit, a rubber effect will apply. The view will go up/down slower than your finger.
barcelonetaView.draggingLimit = 50.0
The timerSettings property is an array of objects, defining the timer interval and incremental value for a specific range. It is required to have at least an object in the timer setting.
Depending on the percentage, the matching settings will be applied.
A drag of 100% corresponds to the draggingLimit.
(range:0..<70, timer: 0.3, increment: 1.0)
This setting says that :
70%, the timer interval for incrementation is
0.3 seconds, and the value incremented is
Crash when running the app ?
If you installed
barceloneta via CocoaPods and use it with Storyboard/xib, you may need to set the module :
- UI Testing
Check the (GitHub issues)
Why should I use
You're looking for an innovative way to increment/decrement values
Barceloneta is released under the MIT license. See LICENSE for details.
*Note that all licence references and agreements mentioned in the barceloneta README section above are relevant to that project's source code only.