UIPickerView Using NSDictionary

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.

  • UIBarButtonItem not clickable in UIToolBar
  • UIPickerView select and hide
  • Can I programmatically scroll to a desired row in UIPickerView?
  • Disable particular row value in UIPickerView
  • Allowing user to select a UIPickerView row by tapping
  • How to call pickerView: didSelectRow: inComponent: without user interaction?
  • 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