Latest 2.2.3
Homepage https://github.com/graycampbell/GCCalendar
License MIT
Platforms ios 9.0, requires ARC

banner

Release
CocoaPods
Documentation
Codacy Code Quality
Swift 4 Compatible
Platform
License

CocoaPods

pod 'GCCalendar'

Implementation

  1. Add GCCalendar to your file’s import statements.

    import GCCalendar
  2. Create an instance of GCCalendarView.

    let calendarView = GCCalendarView()
  3. 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 = .month
  4. Implement 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.

Latest podspec

{
    "name": "GCCalendar",
    "version": "2.2.3",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "summary": "A customizable calendar for iOS 9+ written in Swift.",
    "description": "A customizable calendar UI component for iOS 9+ written in Swift.",
    "homepage": "https://github.com/graycampbell/GCCalendar",
    "authors": "Gray Campbell",
    "source": {
        "git": "https://github.com/graycampbell/GCCalendar.git",
        "tag": "2.2.3"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "GCCalendar/*.{h,m,swift}",
    "requires_arc": true,
    "module_name": "GCCalendar",
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This