Skip to content

Simple library to show dropdown with search option

Notifications You must be signed in to change notification settings

Peerbits/iOS-PBDropDown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

PBDropDown

Simple library to show dropdown with search option
PBDropDown is written in Swift 4.2.

At a Glance

let dropdown = PBDropdown(frame: self.dropdownView.frame, sourceArray: self.arrData, direction: .Up)

Getting Started

Show Dropdown in your controller

let dropdown = PBDropdown()
dropdown.dropDownDelegate = self
dropdown.show(vc : self, anchorView: sender, sourceArray: ["one","two"], direction: .Up, isSearch: true)

Required Delegate Method

func didSelectDropDown(_ index:Int,_ data:Any)

About

Simple library to show dropdown with search option

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages