Latest 4
Homepage https://github.com/chrisgalz/TimeSelector
License MIT
Platforms ios 10.0
Authors

TimeSelector

The Time Picker that is available in Android… Now available in iOS!

Selecting the hour
Selecting the minute

Example Usage (Swift)

let timeSelector = TimeSelector()  
timeSelector.timeSelected = {  
    (timeSelector) in  
       self.setLabelFromDate(timeSelector.date)  
}  
timeSelector.overlayAlpha = 0.8  
timeSelector.clockTint = rgb(0, 230, 0)  
timeSelector.minutes = 30  
timeSelector.hours = 5  
timeSelector.isAm = false  
timeSelector.presentOnView(view: self.view)  

Test out the sample project!

Latest podspec

{
    "name": "TimeSelector",
    "version": "4",
    "summary": "The Android Time Picker for iOS",
    "description": "TimeSelector is the Android Time Picker UI Element customary fabricated for iOS in Swift. Use your finger to rotate the hand of an analog clock to select your chosen time. Get the minutes, hours, and AM/PM as separate components, or set and get a Date object directly to/from the picker.",
    "homepage": "https://github.com/chrisgalz/TimeSelector",
    "screenshots": [
        "https://playr.app/images/timeSelector.jpg",
        "https://playr.app/images/timeSelector2.jpg"
    ],
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Chris Galzerano": "[email protected]"
    },
    "platforms": {
        "ios": "10.0"
    },
    "swift_version": "4.2",
    "source": {
        "git": "https://github.com/chrisgalz/TimeSelector.git",
        "tag": "4"
    },
    "source_files": [
        "Classes",
        "Classes/**/*.{h,m}"
    ],
    "exclude_files": "Classes/Exclude"
}

Pin It on Pinterest

Share This