[Add] AliPlayerSDK_iOS_NORMAL_SR_FILTER 6.21.0
[CocoaPods.git] / Specs / e / 9 / 8 / PTDPickerViewController / 1.0.0 / PTDPickerViewController.podspec.json
blobe9fa21a412c0faa9d0e7ab5378569dae01fa7c39
2   "name": "PTDPickerViewController",
3   "version": "1.0.0",
4   "summary": "PTDPickerViewController can implement the screen composed of UIPickerView, Cancel, and Enter button with simple code.",
5   "description": "PTDPickerViewController can implement the screen composed of UIPickerView, Cancel, and Enter button with simple code.\n\nExample Usages\n\n```swift\n//create picker view model\nlet pickerItems: [String] = [\"one\",\"two\",\"three\",\"fore\"]\nlet initialSelectedIndex = 2\nlet cancelButtonTitleString = \"cancel\"\nlet doneButtonTitleString = \"done\"\nlet pickerViewModel = PTDPickerViewModel.init(items: pickerItems,\n                                              currentSelectedIndex: initialSelectedIndex,\n                                              cancelButtonTitleString: cancelButtonTitleString,\n                                              doneButtonTitleString: doneButtonTitleString)\n\n//show picker\nPTDPickerViewController.create().show(viewModel: pickerViewModel) { (selectedIndex) in\n    guard let selectedIndex = selectedIndex else {\n        print(\"cancel button tapped\")\n        return\n    }\n\n    print(\"selected index (selectedIndex)\")\n}\n```",
6   "homepage": "https://github.com/pontake-dev/PTDPickerViewController",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "pontake-dev": "pontake.dev@gmail.com"
13   },
14   "platforms": {
15     "ios": "9.0"
16   },
17   "swift_version": "4.0",
18   "source": {
19     "git": "https://github.com/pontake-dev/PTDPickerViewController.git",
20     "tag": "1.0.0"
21   },
22   "source_files": "PTDPickerViewController/**/*.{swift}"