title: set value from pickerview to textfield without declaring the textfield globally swift programatically
body: <p>I am building the UI textfields dynamically using the schema, I have many textfields that require UIPickerView(). I am using the UIPickerViewDelegate and overriding its method to set the selected value to the textfields.
   but the problem is I have many textfields generated dynamically at the runtime, I don't want them to be declared globally or in class scope</p>
  
  <p>How can can I set the value selected in picker to the textfield without globally declaring textfield</p>