I have a form with multiple inputs inside of FormController. Whenever a user presses the return key, I want it to tab the cursor over to the next textField without closing and reopening the keyboard. However, the textField input is inside of a wrapper class textFieldContainer that adds customization to the text field. This class is also used elsewhere in the project so I don't want to edit this class. I'm new to Swift so I want to know how I can implement the textFieldShouldReturn function from within the FormController class.
I have researched this question and I have the implementation of textFieldShouldReturn down but I do not know where to put it. I think it will involve tags on each of the textFields and cycling through the tags.