Simple calendar view
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example/TinyCalendar.playground
Images
Sources
Tests
TinyCalendar.xcodeproj
.gitignore
.swift-version
.travis.yml
LICENSE
Package.swift
README.md
TinyCalendar.podspec

README.md

TinyCalendar

Xcode Swift

TinyCalendar is simple calendar view.

Environment

  • iOS8 higher
  • Xcode 8.3
  • Swift 3.1

Usage

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.

example1

Installation

Carthage

To install it, simply add the following line to your Cartfile:

github "yshrkt/TinyCalendar"

Licence

TinyCalendar is released under the MIT license. See LICENSE for details.

Author

yshrkt