CalendarKit is a Swift calendar UI library for iOS and Mac Catalyst. It looks similar to the Apple Calendar app out-of-the-box, while allowing customization when needed. CalendarKit is composed of multiple modules which can be used together or independently. CalendarKit requires EventDataSource to return an array of objects conforming to EventDescriptor protocol, specifying all the information needed to display a particular event. You're free to use a default Event class as a model or create your own class conforming to the EventDescriptor protocol. CalendarKit supports localization and uses iOS default locale to display month and day names. First day of the week is also selected according to the iOS locale. By default, CalendarKit looks similar to the Apple Calendar app and fully supports Dark Mode. If needed, CalendarKit's look can be easily customized.
Features
- CalendarKit can be installed with Swift Package Manager or with CocoaPods
- Swift Package Manager (Xcode 12 or higher)
- CalendarKit requires EventDataSource to return an array of objects conforming to EventDescriptor protocol
- To respond to the user input, override mehtods of DayViewDelegate
- CalendarKit supports localization and uses iOS default locale to display month and day names
- By default, CalendarKit looks similar to the Apple Calendar app and fully supports Dark Mode