Latest 0.1.3
Homepage https://github.com/Kautenja/BDatePicker
License MIT
Platforms ios 10.0
Dependencies PopupDialog, FSCalendar
Frameworks UIKit
Authors

Swift Version
CI Status
Version
License
Platform

Screenshots

simulator screen shot dec 26 2016 11 04 04 am

Features

  • [ ] Custom Appearance
  • [ ] Landscape support (all devices)

Requirements

This pod relies on:

which will be installed with this pod.

Installation

BDatePicker is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "BDatePicker"

Example

To run the example project, clone the repo, and run pod install from the Example
directory first. The example project can then be executed on a simulator or a
production device.

Code

To use a BDatePicker in your project it’s as easy as inserting this one line in
the view controller on which you want to display the popup:

let _ = BDatePicker.show(on: self, handledBy: nil)

This function returns an instance of BDatePicker in case you might want to
manipulate some of the controller manually.

The reccomended way of handling a date change is to implement a handler function
in the host view controller like this:

func HandleDateDidChange(newDate: Date?)
{
    // handle date change in host view controller
}

see ViewController for a production example of how this might come together

Author

Kautenja, [email protected]

License

BDatePicker is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "BDatePicker",
    "version": "0.1.3",
    "summary": "BDatePicker is a tool for quickly selecting a date from a wide range.",
    "description": "BDatePicker provides a simple framework for producing a popup from which to select a datenusing a calendar and time picker. It's build upon the existing pod 'PopupDialog'",
    "homepage": "https://github.com/Kautenja/BDatePicker",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Kautenja": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Kautenja/BDatePicker.git",
        "tag": "0.1.3"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "BDatePicker/Classes/**/*",
    "resource_bundles": {
        "BDatePicker": [
            "BDatePicker/Assets/*"
        ]
    },
    "frameworks": "UIKit",
    "dependencies": {
        "PopupDialog": [
            "~> 0.5"
        ],
        "FSCalendar": []
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This