Latest 1.0.0
Homepage https://github.com/yigit26/YTSelectionPopupView
License MIT
Platforms ios 9.0
Authors

CI Status
Version
License
Platform

Usage

First of all import module

 import YTSelectionPopupView

Then you can use like this :

 let selectionView = YTSelectionPopupView.instantiate()
        selectionView.optionButtonTitleDone = "OK"
        selectionView.optionButtonTitleCancel = "Cancel"
        selectionView.optionBackgroundColor = #colorLiteral(red: 0.9529411793, green: 0.6862745285, blue: 0.1333333403, alpha: 1)
        selectionView.dataSource = self
        selectionView.delegate = self
        selectionView.optionSelectionType = .multiple // .single
        selectionView.optionDisplayStyle = .withoutTextField //  .withTextField
        selectionView.optionPopupTitle = "Title Here!"
        present(selectionView, animated: true, completion: nil)

Example

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

Requirements

Installation

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

pod "YTSelectionPopupView"

Author

Yigit Can Ture,

License

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

Latest podspec

{
    "name": "YTSelectionPopupView",
    "version": "1.0.0",
    "summary": "YTSelectionPopupView is a popup view which is an alternative of picker view.",
    "description": "YTSelectionPopupView is a popup view which is an alternative of picker view. You can use text field with selected item.",
    "homepage": "https://github.com/yigit26/YTSelectionPopupView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Yigit Can Ture": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yigit26/YTSelectionPopupView.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "YTSelectionPopupView/Classes/**/*.{swift}",
    "resource_bundles": {
        "YTSelectionPopupView": [
            "YTSelectionPopupView/Classes/**/*.{storyboard,xib,xcassets,json,imageset,png}"
        ]
    },
    "pushed_with_swift_version": "3"
}

Pin It on Pinterest

Share This