Swiftpack.co - yodagamaheshan/DateGrid as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by yodagamaheshan.
yodagamaheshan/DateGrid 0.0.3
A customizable swiftui calendar
⭐️ 186
🕓 3 years ago
iOS
.package(url: "https://github.com/yodagamaheshan/DateGrid.git", from: "0.0.3")

DateGrid

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.
  2. In the next page, specify the version resolving rule.
  3. After Xcode checking out the source and resolving the version, you can choose the "DateGrid" library and add it to your app target.

Usage

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

GitHub

link
Stars: 186
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics