https://github.com/aduryagin/skip-week-calendar
Weekly Calendar for Skip
https://github.com/aduryagin/skip-week-calendar
skip weekly-calendar
Last synced: 10 months ago
JSON representation
Weekly Calendar for Skip
- Host: GitHub
- URL: https://github.com/aduryagin/skip-week-calendar
- Owner: aduryagin
- Created: 2024-09-23T10:16:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T13:15:16.000Z (over 1 year ago)
- Last Synced: 2025-03-01T00:53:21.574Z (over 1 year ago)
- Topics: skip, weekly-calendar
- Language: Swift
- Homepage: https://skip.tools
- Size: 1.84 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SkipWeekCalendar

## Installation
Update Package.swift
```swift
dependencies: [
// Other dependencies here
.package(url: "https://github.com/aduryagin/skip-week-calendar.git", branch: "main")
],
targets: [
.target(
name: "YourProjectName",
dependencies: [
// List your target dependencies here, including the new package
.product(name: "SkipWeekCalendar", package: "skip-week-calendar")
]
),
]
```
## Usage
```swift
import SwiftUI
import SkipWeekCalendar
public struct ContentView: View {
public var body: some View {
WeekCalendar { isSelected, isToday, date, onTap in
// You can replace this View with your own
WeekDayView(
isSelected: isSelected,
isToday: isToday,
date: date,
onTap: onTap
)
}
}
}
```