Whether you are writing yet another one task tracker or calendar app, or simply want to offer the users to skip the joy of using
UIDatePicker and let them quickly and efficiently select dates — CrispyCalendar is the calendar UI framework you need.
opentypes and identifiers.
CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has over 53 thousand libraries and is used in over 3 million apps. More details and installation instructions may be found here: Using Cocoapods.
To integrate CrispyCalendar into your Xcode project using CocoaPods, specify it in your Podfile:
source 'https://github.com/CocoaPods/Specs.git' platform :ios, '10.3' target 'TargetName' do pod 'CrispyCalendar', '~> 1.0.2' end
Then, run the following command:
$ pod install
Open Demo project in Xcode and build
CrispyCalendar framework target.
Then, embed it into your project and add it to
Linked Frameworks and Libraries section of app target.
All the fonts, colors and other appearance details are customizable via corresponding properties. CPCCalendarView does also support customization via UIAppearance for properties representable in Objective C.
|Default||Basic from Debt Control||Input view from Debt Control|
|Single day selection||Days range selection|
Selection process is fully controlled externally by corresponding view's delegate. Note that delegates for views inside containers are not supported.
|Unordered selection||Ordered selection|
|Custom cell renderer example|
Locale used by any component cannot be set explicitly, but Calendar's locale is honored. The framework uses
[[[NSBundle mainBundle] preferredLocalizations] firstObject] as default locale, including setting it for calendars without explicitly set locale.
|Non-gregorian calendar rendering|
Available dates limiting, RTL and landscape orientation are fully supported.
|Dates limiting||Columned mode|
CrispyCalendar is owned and maintained by the Cleverpumpkin, Ltd.
CrispyCalendar was originally created by Kirill Bystrov as a response to lack of quality calendar-rendering libraries. Android couterpart does exist (but neither API nor UX is similar), check it out here: CrunchyCalendar.
CrispyCalendar is released under the MIT license. See LICENSE for details.