Latest0.0.1
Homepagehttps://github.com/cemolcay/TempoStepper
LicenseMIT
Platformsios 9.0, requires ARC
DependenciesALKit
Authors

Fully customisable stepper that displays increase/decrease buttons on its left side, vertically, lets you auto step if you hold them as well as lets you write the value with keyboard if you tap to its value field.

Demo

alt tag

Requirements

  • Swift 3.0+
  • iOS 9.0+

Install

pod 'TempoStepper'

Usage

TempoStepper is an @IBDesignable control, so you can design it directly from storyboard or of course you can initilize it with traditional ways by programmatically.

Since it’s a UIControl subclass, you just need to subscribe its .valueChanged event by addTarget function of UIControl. You can define an @IBAction function for that as well, if you want to link it from your storyboard.

It is highly customisable. You can either tweak its @IBInspectable properties in storyboard or change them from your code.

You can turn off tap to change and auto stepping features with shouldTapToChange and shouldAutoStep properties.

Also, you can edit the auto stepping speeds, min/max values of stepper and displaying decimals or not.

Latest podspec

{
    "name": "TempoStepper",
    "version": "0.0.1",
    "summary": "Fully customisable stepper with auto stepping.",
    "description": "TempoSteppern===nnFully customisable stepper that displays increase/decrease buttons on its left side, vertically, lets you auto step if you hold them as well as lets you write the value with keyboard if you tap to its value field.nnDemon----nn![alt tag](https://github.com/cemolcay/TempoStepper/raw/master/demo.gif)nnRequirementsn----nn- Swift 3.0+n- iOS 9.0+nnInstalln----nn```npod 'TempoStepper'n```nnUsagen----nn`TempoStepper` is an `@IBDesignable` control, so you can design it directly from storyboard or of course you can initilize it with traditional ways by programmatically.nnSince it's a `UIControl` subclass, you just need to subscribe its `.valueChanged` event by `addTarget` function of `UIControl`. You can define an `@IBAction` function for that as well, if you want to link it from your storyboard.nnIt is highly customisable. You can either tweak its `@IBInspectable` properties in storyboard or change them from your code.nnYou can turn off tap to change and auto stepping features with `shouldTapToChange` and `shouldAutoStep` properties.nnAlso, you can edit the auto stepping speeds, min/max values of stepper and displaying decimals or not.",
    "homepage": "https://github.com/cemolcay/TempoStepper",
    "license": "MIT",
    "authors": {
        "cemolcay": "[email protected]"
    },
    "social_media_url": "http://twitter.com/cemolcay",
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/cemolcay/TempoStepper.git",
        "tag": "0.0.1"
    },
    "source_files": "TempoStepper/TempoStepper.swift",
    "requires_arc": true,
    "dependencies": {
        "ALKit": []
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This