/ActionPickerUtils

Utils global functions to simplify working with ActionSheetPicker-3.0

Primary LanguageSwiftMIT LicenseMIT

ActionPickerUtils

Carthage compatible Version License Platform CI Status

Utils global functions to simplify working with ActionSheetPicker-3.0

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

Carthage

Please check official guide

Cartfile:

github "APUtils/ActionPickerUtils"

CocoaPods

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

pod 'ActionPickerUtils'

Usage

To pick date:

g_showDatePicker { date in
    print(date)
}

To pick string:

g_showStringsPicker(values: ["Hello", "World"]) { index, string in
    print(\(index) - \(string))
}

See example project for more details.

Contributions

Any contribution is more than welcome! You can contribute through pull requests and issues on GitHub.

Author

Anton Plebanovich, anton.plebanovich@gmail.com

License

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