Latest 0.1.2
Homepage https://github.com/Dreem-Devices/DMPickerView
License MIT
Platforms ios 8.0
Authors

Version
License
Platform

Demo

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Your project deployment target must be iOS 7.1+

Installation

DMPickerView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "DMPickerView"

Options

Here is the list of customizable options:

@property (nonatomic) Orientation orientation;

The orientation of the picker. Default is VERTICAL.

@property (nonatomic) CGFloat spacing;

Minimum scale of the label. Default is 0.2

@property (nonatomic) CGFloat minSizeScale;

The spacing between two consecutove elements of the picker. Default is 30.

@property (nonatomic) CGFloat sizeScaleRatio;

Ratio of the scale. If you increase this value the outer labels will look smaller

@property (nonatomic) CGFloat minAlphaScale;

Minimum scale of the alpha. Default is 0.2

@property (nonatomic) CGFloat alphaScaleRatio;

Ratio of the alpha. If you increase this value the outer labels will look dimmer

@property (nonatomic) CGFloat shouldUpdateRenderingOnlyWhenSelected;

Define if the alpha and ratio should be applied always or only when selected. Default is NO

Author

Olivier Tranzer, [email protected]

License

DMPickerView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "DMPickerView",
    "version": "0.1.2",
    "summary": "A custom picker view for iOS",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/Dreem-Devices/DMPickerView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "otranzer": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Dreem-Devices/DMPickerView.git",
        "tag": "0.1.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "DMPickerView/Classes/**/*"
}

Pin It on Pinterest

Share This