talira

BRPickerView

Date, time and multi-level text picker views for iOS

open sourceMITfree

BRPickerView is an Objective-C library of picker views for iOS apps, usable from Swift too. BRDatePickerView picks dates and times in 18 formats (the four UIDatePicker modes plus custom ones such as year and month, year and quarter, or minutes and seconds, with options for showing the weekday or a "to now" entry), and BRTextPickerView picks text from one or several columns or from linked multi-level lists, such as province, city and district. Pickers take a custom style (colours, fonts, title bar), support dark mode, and can be shown as a pop-up or added inside a view of your own. Version 3.0.0 removed the old BRAddressPickerView and BRStringPickerView in favour of BRTextPickerView. Its README is in Chinese.

Problems it solves

  • a date picker for my iOS app that can pick just a year and month, or a year and quarter
  • pick a province, city and district from linked lists in an iOS app
  • UIDatePicker can't show the custom date formats my iOS app needs
  • a styleable picker view for iOS that works in dark mode

Features

  • date and time picker with 18 formats, including year-quarter, year-week and minute-second
  • text picker for single, multi-column and linked multi-level lists (province, city, district)
  • custom styles for colours, fonts and the title bar, with dark mode support
  • show as a pop-up or embed the picker in a view of your own
  • installs with CocoaPods or Swift Package Manager

Alternatives

The same job

These do what BRPickerView does.

  1. ActionSheetPicker-3.0 Picker views in an action sheet or popover for iOS

Compare BRPickerView with the top 3