Latest 3.0.0
License MIT
Platforms ios 8.0

A simple month and year picker for iOS app development. Now support Swift 4.2


How it works

    self.monthYearPicker.calendar = calendar
    self.monthYearPicker.monthYearPickerMode = .monthAndYear // or '.year'
    self.monthYearPicker.minimumDate = self.minimumDate
    self.monthYearPicker.maximumDate = self.maximumDate
    self.monthYearPicker.delegate = self

    //Picker delegate
    func monthYearPickerView(picker: TLMonthYearPickerView, didSelectDate date: Date) {
        //do your work with selected date object

Add to your project

There are 2 ways you can add TLMonthYearPickerView to your project:

Manual installation

Simply drag ‘TLMonthYearPickerView.swift’ into your project.

Installation with CocoaPods

    pod 'TLMonthYearPicker'

For Swift 4.0, please use version 2.0.0:

    pod 'TLMonthYearPicker', '2.0.0'

For Swift 3.x, please use version 1.0.3:

    pod 'TLMonthYearPicker', '1.0.3'


Usage is provided under the MIT License. See LICENSE for the full details.

Latest podspec

    "name": "TLMonthYearPicker",
    "version": "3.0.0",
    "summary": "A simple month and year picker.",
    "description": "A simple month and year picker.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": "lee5783",
    "platforms": {
        "ios": "8.0"
    "source": {
        "git": "",
        "tag": "3.0.0"
    "source_files": [
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4.2"

Pin It on Pinterest

Share This