Custom iOS view for picking a date range
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like CXDurationPicker in your projects. See the CocoaPods homepage for more information.
platform :ios, '9.0' pod 'CXDurationPicker', "~> 0.16.10"
Calendar colors can be changed in code by setting the following properties on CXDurationPickerView.
There is a demo project which provides an example of interacting with CXDurationPickerView. To run this project please change into the CXDurationPicker project's folder and follow these steps:
cd CXDurationPickerDemo pod install open CXDurationPickerDemo.xcworkspace
If you have any feature requests/bugfixes etc. feel free to help out and send a pull request, or create a new issue.
Copyright 2015 - 2021 Concur
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.