iOSDropDown
iOSDropDown copied to clipboard
how to show selected option in log
let priceOptions = DropDownData() let pricing = priceOptions.priceTypes priceRangeDropDown.optionArray = pricing print("(pricing)") // showing which option in the logs
How would I be able to show the selected option in the logs when I pick something in the drop down?
use this
dropDownMenu.didSelect{(selectedText , index ,id) in print("Selected String: \(selectedText) \n index: \(index)") }