Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/divadretlaw/overlaydatepicker
📆 Pick a date or a date range via overlay
https://github.com/divadretlaw/overlaydatepicker
datepicker framework library overlay swift swiftui
Last synced: 14 days ago
JSON representation
📆 Pick a date or a date range via overlay
- Host: GitHub
- URL: https://github.com/divadretlaw/overlaydatepicker
- Owner: divadretlaw
- License: mit
- Created: 2022-03-12T21:52:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-17T20:27:07.000Z (about 2 years ago)
- Last Synced: 2023-02-28T12:22:50.530Z (over 1 year ago)
- Topics: datepicker, framework, library, overlay, swift, swiftui
- Language: Swift
- Homepage:
- Size: 41 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OverlayDatePicker
![](Screenshot.png)
## Usage
```swift
.overlay {
OverlayDatePicker(isPresented: $isPresented, date: some Date) { date in
// Use the selected date e.g. Update ViewModel
}
}
``````swift
.overlay {
OverlayDateRangePicker(isPresented: $selectDateRange, range: some CloseRange) { range in
// Use the selected range e.g. Update ViewModel
}
}
```## Install
### SwiftPM
```
https://github.com/divadretlaw/OverlayDatePicker.git
```## License
See [LICENSE](LICENSE)
Copyright © 2022 David Walter (www.davidwalter.at)