UIPickerView Using NSDictionary

人盡茶涼 提交于 2019-12-13 18:24:44

问题


I am new to Swift Programming Language.

I am trying to make aUIPickerView which work like select or listbox that contain key,value.If user select one from picker view,it gives me the key of that value.

I have been browsing for almost half of the day trying to figure this out.

All i got wasUIPickerView using array results.All i want to know was how to store a Dictionary[key:value] inUIPickerView and if user select one of the value from picker,how to get the key.

Please Help. With Regards

来源:https://stackoverflow.com/questions/30454222/uipickerview-using-nsdictionary

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!