CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

ASDropDown 0.1.6

ASDropDown 0.1.6

Maintained by Amit Mondol.



  • By
  • Amit Mondol

ASDropDown

CI Status Version License Platform

Screenshots

ASDropDown Screenshots

Example

import ASDropDown

let items = (0..<100).map({return ASDropDownItem(key: "key_\($0)", title: "item-\($0)")})
ASDropDown.openDropDown(items, nil, { (index: Int, item: String) in
    self.textField.text = item
    }, anchorpointView, nil)

DropDown Customization Properties

let items = (0..<100).map({return ASDropDownItem(key: "key_\($0)", title: "item-\($0)")})
ASDropDown.openDropDown(items, ASDropDownProp(UIFont.systemFont(ofSize: 15), UIColor.red), { [unowned self] (index: Int, item: String) in
    self.textField.text = item
    }, anchorpointView, nil)
    

Requirements

Installation

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

pod 'ASDropDown'

Author

[email protected], [email protected]

License

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