Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 916 Bytes

README.md

File metadata and controls

46 lines (33 loc) · 916 Bytes

SwiftCalendarKit

"Buy Me A Coffee"

About This Project

Calendar View build with SwiftUI

Preview

2023-12-01.3.13.03.mov

Requirements

  • iOS 16+
  • Swift 5.0+

Installation

Swift Package Manager

  • File > Swift Packages > Add Package Dependency
  • Add https://github.com/ElvisWong213/SwiftCalendarKit
  • Select "Up to Next Major" with "1.0.0"

Usage

Implement

import SwiftCalendarKit

@State var selectedDate = Date()
SwiftCalendar(selectedDate: $selectedDate)

Modifiers

SwiftCalendar()
  // Text Color
  .textColor()
  .titleTextColor()
  .weekdaysTextColor()

  // Selected Date Circle Color
  .selectedDateColor()

  // Background Color
  .backgroundColor()