Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

ScaleNumberPicker

Custom UIPickerView with scale UI

ScreenShots

ScreenShot

Example

To run the example project,download the project and run.

Requirements

Swift 3.0
Xcode 9.0

Usage

Copy the createScaleView() function and paste it in your swift file

/*Basic Usage
createScaleView is a function which returns a UIView which can be added as picker view.
rowHeight - pass the height of row of pickerview.This should be equal
title - text needed to display
pickerView - pass you pickerview

/*
createScaleView(rowHeight: 80, title: "\(rowData)cm", pickerView: pickerView)

Customize

createScaleView(rowHeight: rowHeight, widthOfScaleView: rowHeight, numberOfSeperation: 7, title: IndexPath.row, bgColor: .red, lineColor: .white, titleColor: .white, pickerView: pickerView, fontSize: 25)

Author

shamshir.anees@gmail.com

About

Custom UIPickerView with scale UI

Topics

Resources

Stars

14 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages