
CocoaPods
pod 'GCCalendar'
Implementation
Add GCCalendar to your file’s import statements.
import GCCalendarCreate an instance of GCCalendarView.
let calendarView = GCCalendarView()Set the delegate and the display mode. If you don’t set the delegate and the display mode, the calendar will not appear.
calendarView.delegate = self calendarView.displayMode = .monthImplement GCCalendarViewDelegate.
func calendarView(_ calendarView: GCCalendarView, didSelectDate date: Date, inCalendar calendar: Calendar)
Documentation
License
GCCalendar is available under the MIT license. See the LICENSE file for more info.
View on GitHub
GCCalendar Reference