Skip to content

aduryagin/skip-week-calendar

Repository files navigation

SkipWeekCalendar

Preview

Installation

Update Package.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

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
            )
        }
    }
}

About

Weekly Calendar for Skip

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published