Latest 1.2.0
Homepage https://github.com/hwj4477/CustomPickerDialog-Swift
License MIT
Platforms ios 8.1
Authors

Platform
Language
License

Screenshot

Installation

CocoaPods

In your Podfile:

pod "CustomPickerDialog-Swift"

And in your *.swift:

import CustomPickerDialog_Swift

Usage

let pickerView = CustomPickerDialog(dataSource: [1,2,3,4,5,6]) { (data) -> String in
    return "val(String(data))"
}

pickerView.selectRow(3)

pickerView.showDialog("CustomPickerDialog", doneButtonTitle: "done", cancelButtonTitle: "cancel") { (result) -> Void in

    self.lblResult.text = "val(String(result))"

}

Latest podspec

{
    "name": "CustomPickerDialog-Swift",
    "version": "1.2.0",
    "summary": "A simple custom picker dialog",
    "description": "A simple custom picker dialogS",
    "license": "MIT",
    "homepage": "https://github.com/hwj4477/CustomPickerDialog-Swift",
    "authors": {
        "wjhong": "[email protected]"
    },
    "source": {
        "git": "https://github.com/hwj4477/CustomPickerDialog-Swift.git",
        "tag": "1.2.0"
    },
    "platforms": {
        "ios": "8.1"
    },
    "source_files": "CustomPickerDialog/CustomPickerDialog.swift",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This