An API for DropDown with streams similar Rx
CocoaPods:
pod 'BKDropDown'
Manual:
Copy BKDropDown.swift, BKDropDown.storyboard to your project.
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)BKDropDown is available under the MIT license. See the LICENSE file for more info.
