Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yodagamaheshan/dategrid
A customizable swiftui calendar
https://github.com/yodagamaheshan/dategrid
calendar calendar-swiftui calendarswiftui customizable-ui date dategrid horizontal-scrolling ioscalendar monthcalendar swiftui swiftuicalendar weekcalendar
Last synced: 5 days ago
JSON representation
A customizable swiftui calendar
- Host: GitHub
- URL: https://github.com/yodagamaheshan/dategrid
- Owner: yodagamaheshan
- Created: 2020-10-26T15:22:47.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-03T15:51:15.000Z (about 2 years ago)
- Last Synced: 2024-12-19T01:06:31.134Z (5 days ago)
- Topics: calendar, calendar-swiftui, calendarswiftui, customizable-ui, date, dategrid, horizontal-scrolling, ioscalendar, monthcalendar, swiftui, swiftuicalendar, weekcalendar
- Language: Swift
- Homepage:
- Size: 192 KB
- Stars: 196
- Watchers: 4
- Forks: 22
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Description not available.
## Installation
From Xcode 11, you can use Swift Package Manager to add DateGrid to your project.1. Select File > Swift Packages > Add Package Dependency. Enter ``` https://github.com/yodagamaheshan/DateGrid.git``` in the "Choose Package Repository" dialog.
1. In the next page, specify the version resolving rule.
1. After Xcode checking out the source and resolving the version, you can choose the "DateGrid" library and add it to your app target.## Usage
```swift
DateGrid(interval: dateInterval , selectedMonth: $selectedMonthDate, mode: mode) { dateGridDate in
Text(dateGridDate.date.day)
.padding(8)
.background(Color.blue)
.cornerRadius(8)
.padding([.bottom], 10)
}
```[Sample project](https://github.com/yodagamaheshan/FlexibleCalender-demo.git)