ppeelen/simplecalendar
``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.
Installation
Simple Calendar can be installed with the Swift Package Manager:
https://github.com/ppeelen/SimpleCalendar.gitUsage
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
Package Metadata
Repository: ppeelen/simplecalendar
Default branch: main
README: README.md