Latest 0.1.6
Homepage https://github.com/jseidman95/JSDatePickerView
License MIT
Platforms ios 10.3.1
Authors

Alt Text

Introduction

This Cocoapod provides a custom date picker with a popout calendar. The user can navigate throught the dates by clicking the left and right arrows or swiping left/right. The user also has the option of using the pop out calendar to easily choose dates far in the future. The calendar and view are very customizable and allow the developer to change many features.

Code Samples

Many features of the calendar can be customized:

The calendar font:

js.calendarFont = UIFont.systemFont(ofSize: 20.0)

The calendar width

js.calendarWidth = 300.0

The calendar cell background color

js.cellBackgroundColor = UIColor.blue

JSDatePicker can also be controlled programmatically

Programmatically Expand:

js.expandCalendar()

Programmatically Collapse:

js.collapseCalendar()

Programmatically go left:

js.leftButtonAction()

Programmatically go right

js.rightButtonAction()

Installation

To install simply include pod ‘JSDatePickerView’ in your podfile and run pod install.

Latest podspec

{
    "name": "JSDatePickerView",
    "version": "0.1.6",
    "summary": "This is a custom DatePicker UIView",
    "description": "This custom DatePicker UIView allows the user to switch dates in different ways.  The user could use the built in arrows to switch day by day.nOr, the user could press on the UIView and use the custom popout calendar to select a new day.",
    "homepage": "https://github.com/jseidman95/JSDatePickerView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Jesse Seidman": "[email protected]"
    },
    "source": {
        "git": "https://github.com/jseidman95/JSDatePickerView.git",
        "tag": "0.1.6"
    },
    "platforms": {
        "ios": "10.3.1"
    },
    "source_files": "JSDatePickerView/*",
    "resource_bundles": {
        "JSDatePickerView": [
            "Sources/JSDatePickerView.bundle/*.png"
        ]
    },
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This