Swift - PickerViewController - Router

Viewed 21

my friend.

I have a task to call a PickerViewController, using Router by pressing a button. as a result should show 3 choices and save button. 3 choices it's array of Strings(soundArray)

So, I can't understand how call the PickerViewController with Router. In initialization PickerViewController we have 6 input values. I beg you to write what each of these values ​​means and what to write there? What is the logic of the code?

text, values,selectedIndex,saveButtonTittle,selectedCallBack.

Many thanks in advance, all the best.

enter image description here

0 Answers
Related