Skip to content

Repository files navigation

BKDropDown

An API for DropDown with streams similar Rx

Installation

CocoaPods:

pod 'BKDropDown'

Manual:

Copy BKDropDown.swift, BKDropDown.storyboard to your project.

Preview

Using

letdropDown=BKDropDown.instance().bind(["Item 1","Item 2","Item 3","Item 4"]).setLayoutCell(normal:.white, highlight:.lightGray,height:50).setLayoutTitle(normal:.darkGray, highlight:.darkGray ,font:UIFont.systemFont(ofSize:14)).setPadding(leading:20, trailing:20).setDidSelectRowAt({(idx, item, dropDown)in
dropDown.hide()}).show(self, targetView: sender)

License

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

About

An API for DropDown with streams similar Rx, Implement options as simple functions, Dropdown View With Swift

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages