iOSDropDown icon indicating copy to clipboard operation
iOSDropDown copied to clipboard

how to show selected option in log

Open xthemadgenius opened this issue 5 years ago • 1 comments

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?

xthemadgenius avatar Jan 09 '20 00:01 xthemadgenius

use this dropDownMenu.didSelect{(selectedText , index ,id) in print("Selected String: \(selectedText) \n index: \(index)") }

awaismubeen avatar Jan 10 '20 10:01 awaismubeen