Skip to content

Instantly share code, notes, and snippets.

@ericcgu
Created October 9, 2014 13:51
Show Gist options
  • Save ericcgu/8d21d629a79e741872e7 to your computer and use it in GitHub Desktop.
Save ericcgu/8d21d629a79e741872e7 to your computer and use it in GitHub Desktop.
UIPickerControl
//var double = array[pickerView.selectedRowInComponent(n)]
var localCurrency = currencies.currencyList[CurrencyPickerView.selectedRowInComponent(0)]
var foreignCurrency = currencies.currencyList[CurrencyPickerView.selectedRowInComponent(1)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment