Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)