目录
目录README.md

MonthCal

A SwiftUI Calendar Generator for IOS

Features:

  • Supply starting date
  • Select months to display
  • Disabled, Enabled, Selected, Today day states
  • Color control
  • Dark Mode Support

Photos

Light Dark

Installation

  • Requires IOS 13.0+ / Xcode 11+ / Swift 5.1+

Option 1

  • Copy Sources/MonthCal files into your xcode project

Option 2

  • Add via Swift Package Manager

Configure

  • To customize the colors used, edit colors listed in the Colors.swift file

Usage

  • Show calendar with a start date and amount of months to display

    Import MonthCal
    CalendarView(start: Date(), monthsToShow: 6)
  • Disable ability for dates to be selected

    Import MonthCal
    CalendarView(start: Date(), monthsToShow: 6, daysSelectable: false)

License

  • MonthCal is available under the MIT license. See the LICENSE file for more info.

Shoutouts

关于
1.2 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号