So I've been searching for a solution that I can understand and apply to my project, but no luck.
I have a popup window(viewcontroller1) with a UItextfield. In this field, the user should enter a text that appends into an array in another view controller(viewcontroller2)
I've tried something with prepare(for segue) but that will also transfer the user back to viewcontroller1, right?
So how would I append and save this UItextField data to the array in viewcontroller2, without automatically moving the user when he/she hits enter?