YMCalendar
YMCalendar is a library of monthly event calendar for iOS written in Swift 3.
Usage
Property
YMCalendarView
has some instance properties like UICollectionView
.
- Scrollable both vertically and horizontally
- Switching paging mode
- Multiple selection mode
- Customizable select and deselect animation.
- Customizable date range of calendarView.
If you set nil
for dateRange, it will be inifinite scroll calendar (default is nil).
Layout customization
Appearance protocol
YMCalendarView has appearance
property of YMCalendarAppearance
protocol which manages layout for YMCalendarView
.
For example, color and width of grid lines, color and fonts of day labels on calendarView.