Giter VIP home page Giter VIP logo

multipledatepicker's Introduction

Version 1.0.0

Multiple Datepicker

A production of SaiGonApps Team from VietNam.

I really like Datepicker of Android version and hate the default DatePicker of iOS. I searched on the internet a library which have layout look like Android verion, but I couldn't find anything.
So I decided spend two dates in my life to creating something like that for me and someone who hate the default Datepicker of iOS
I hope you enjoy it.

One more heads up: As Swift evolves, if you are not using the latest Swift compiler, you shouldn't check out the master branch. Instead, you should go to the release page and pick up whatever suits you.
  • Xcode 10.2 / Swift 5.0 (master branch)
  • iOS >= 8.0 (Use as an Embedded Framework)
  • macOS >= 10.11

An amazing feature of this library now, for Android, iOS, tvOS and macOS, is the time it saves you when developing for both platforms, as the learning curve is singleton- it happens only once, and the code stays very similar so developers don't have to go around and re-invent the app to produce the same output with a different library. (And that's not even considering the fact that there's not really another good choice out there currently...)

Usage

In order to correctly compile:
  1. Add it to your podfile: pod 'MultipleDatePicker', :git => 'https://github.com/tutrieuchau/MultipleDatePicker.git'
  2. @import MultipleDatePicker
  3. In your view set UIClass to MultipleDatePicker
  4. Handle date picker
    • Handle picker done in your viewcontroller by extend MultipleDatePickerDelegate
    • Override hook func onSelected(start: Date?, end: Date?) if you select single date end: Date? will be nil

Troubleshooting and support

Currently, It has a lot of bugs and issues. I will fix it as soon as i can. If you want customize it. Please contact me by email [email protected] I will help you customize it. You just need to send me a cup of coffy for that.@(^-^)@

Demo

Screenshots are currently taken from the original repository, as they render exactly the same :-)

  • Multiple Date Picker (Drag to select) alt tag

  • Multiple Month Picker (Select start and end year) alt tag

  • Multiple Year Picker (Select start and end year) alt tag

License

Copyright 2019 TrieuChau and SaiGonApp Team

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

multipledatepicker's People

Contributors

tutrieuchau avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.