Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 662 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 662 Bytes

Swift 3

SNDropDownMenu

Use customize view produce dropDownMenu

How to use

  • Drag SNDropDownMenu.swift to your project
  • Add SNDropDownMenuDelegate to your ViewController
  • Refer to the example
// example
let headView = (your customize headView)
let options = [view1,view2] // your options views

let dropDownMenu  = SNDropDownMenu()
dropDownMenu.frame = self.view.frame
dropDownMenu.setup(headView, options: options,delegate:self)
view.addSubview(dropDownMenu)