DPPickerManager alternatives and similar libraries
Based on the "PickerView" category.
Alternatively, view DPPickerManager alternatives based on common mentions on social networks and blogs.
-
SKCountryPicker
A simple, customizable Country picker for picking country or dialing code. ๐ฎ๐ณ ๐ฏ๐ต ๐ฐ๐ท ๐ฉ๐ช ๐จ๐ณ ๐บ๐ธ ๐ซ๐ท ๐ช๐ธ ๐ฎ๐น ๐ท๐บ ๐ฌ๐ง -
D2PDatePicker
Elegant and Easy-to-Use iOS Swift Date Picker -
McPicker
McPicker is a customizable, closure driven UIPickerView drop-in solution with animations that is rotation ready. -
ADDatePicker
A fully customizable iOS Horizontal PickerView library, written in pure swift -
AIDatePickerController
๐ UIDatePicker modally presented with iOS 7 custom transitions.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of DPPickerManager or a related project?
README
DPPickerManager
UIPicker inside a UIAlertController
HOW TO USE :
// Strings Picker
let values = ["Value 1", "Value 2", "Value 3", "Value 4"]
DPPickerManager.shared.showPicker(title: "Strings Picker", selected: "Value 1", strings: values) { (value, index, cancel) in
if !cancel {
// TODO: you code here
debugPrint(value as Any)
}
}
// Date Picker
let min = Date()
let max = min.addingTimeInterval(31536000) // 1 year
DPPickerManager.shared.showPicker(title: "Date Picker", selected: Date(), min: min, max: max) { (date, cancel) in
if !cancel {
// TODO: you code here
debugPrint(date as Any)
}
}
// Time Picker (custom picker)
DPPickerManager.shared.showPicker(title: "Time Picker", picker: { (picker) in
picker.date = Date()
picker.datePickerMode = .time
}) { (date, cancel) in
if !cancel {
// TODO: you code here
debugPrint(date as Any)
}
}
*Note that all licence references and agreements mentioned in the DPPickerManager README section above
are relevant to that project's source code only.