SimpleCalendar

1.0.0

The Simplest calendar
ppeelen/SimpleCalendar

What's New

1.0.0

2023-09-12T21:56:36Z

The first release of Simple Calendar

Simple Calendar Logo

Swift 5.9 Swift UI MIT License
Mastodon Follow Twitter Follow

Simple Calendar

SimpleCalendar brings the use of a simple calendar right into your app. There are no fancy sliders nor is its purpose to mimic Apple's Calendar app. As its title suggests, it is meant to be a simple calendar.

Originally built for the Swift Island app, this calendar has since been separated to its own Github project so others so it can easily be integrated in other apps.

Installation

Simple Calendar can be installed with the Swift Package Manager:

https://github.com/ppeelen/SimpleCalendar.git

Usage

Simple Calendar comes with documentation right inside Xcode, however here are some quick examples:

Adding a Simple Calendar is just one line of code:

SimpleCalendarView(
    events: eventList,
    selectionAction: .sheet
)

eventList in the example above is a list of EventRepresentable items; such as Event. See the example app for further examples.

When the user selects an event in the calendar, Simple Calendar can either inform using a closure, show the default sheet, a custom sheet or move to a custom destination.

Documentation

You can find the documentation here: https://ppeelen.github.io/SimpleCalendar/docs/documentation/simplecalendar

Description

  • Swift Tools 5.8.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Oct 18 2024 04:11:15 GMT-0900 (Hawaii-Aleutian Daylight Time)