TinyCalendar is simple calendar view.
- iOS8 higher
- Xcode 8.3
- Swift 3.1
Initialize as bellow:
let calendarView = CalendarView(frame: CGRect(x: 0, y: 0, width: 375, height: 375))
calendarView.configure()
Changes year/month as bellow:
calendarView.update(year: 2017, month: 10)
Also you can customize calendar cell just like UITableViewCell's cell.
calendarView.registerHeaderCell(CustomHeaderCell.self)
calendarView.registerCell(CustomCell.self)
Please see the details in TinyCalendar.playground.
To install it, simply add the following line to your Cartfile
:
github "yshrkt/TinyCalendar"
TinyCalendar is released under the MIT license. See LICENSE for details.