NativeScript date picker slider plugin
A plugin that enables you to use the cocoapod at https://github.com/rajivnarayana/TimePickerSlider in your native script app.
Installation
Run the following command from the root of your project
$ tns plugin add https://github.com/rajivnarayana/NativeScriptTimePickerSliderPlugin.git
This command automatically install the necessary ios files from the cocoapod github repository and adds as a dependency in your package.json file
Examples
There is an sample application at the folder "Example". To run it (assuming you have nativescript plugin installed globally)
$ sudo npm install typescript -g
$ tsc
$ cd Example
$ tns plugin add ../
Run the application from your mac onto your iOS simulator by typing
$ tns emulate ios --device=iPhone\ 5s
The following code from Example/app/main.xml show you a way to add Time picker to your layout
Following code from Exaple/app/main.js shows a way to listen to value changes
{ var slider = argsobject; slider;} exportsonSliderLoaded = onSliderLoaded;