Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 449 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 449 Bytes

DropDownView

A drop down menu view simple and easy to use.

Demo

  • Platform: iOS8.0+
  • Language: Swift3.0
  • Editor: Xcode8

How to use it?

let items = ["item0", "item1", "item2"]

ActionSheetView.show(items: items, selectedIndex: 0, sourceView: sender){
    [unowned self] (index) in
    print("selected item: \(index)")
}