Tag Archives: framework

CalendarKit

07 Dec 15
Steven Beyers
, , ,
No Comments

CalendarKit

CalendarKit is an open source project we have been working on to insert a calendar in an iOS app. There are many calendar frameworks that can be used but when we needed one they all seemed to be missing something that was important to us. As of June 2, 2016 we have implemented all of the features that we need. However, if you have a request for a feature let us know. We want to make this the best calendar framework there is.

The code can be found on GitHub and can be added to your project as source code or compiled into a framework.

Features

  • Completely customizable UI – Font, color, placement of UI elements – EVERYTHING.
  • Set a minimum and maximum date – The calendar will never scroll beyond those dates.
  • Set disabled dates – In some applications special dates such as holidays should be disabled.
  • Set disabled weekends – A quick way to disable all weekends.
  • Accessory views – Need some way to indicate there is data related to a particular date? Use the accessory view!
  • Usable wherever needed – Full screen? Embedded in a larger screen? In a popover? This calendar can do it all.

Using CalendarKit

For sample code on how to best use CalendarKit, checkout the GitHub page. There is a sample app in the same project where I have demonstrated a lot of the flexibility of the framework.

If you want to get started quickly all you need is this code:

Then, conform to the CalendarDelegate protocol and implement func calendar(calendar: Calendar, didSelectDate date: NSDate). Thats it.

Want to contribute?

Since this is open source, we would love to have community involvement. Feel free to fork our project so that you can contribute!

Screen shots

keyboardInput_CalendarKit
embedded_CalendarKit
fullScreen_CalendarKit