How to write logic in Swift,
There is an object in my first controller, for example the string "Hello" .
I need to go to the new controller, immediately register the data in it, from the previous controller string "Hello" .
In the new controller, change this string parameter for example to string "New Hello" .
After that, return to the old controller and update the original line there.
p / s In objective c, it could easily be implemented in blocks, theoretically in Swift it could be done with the same coolants, but can there be any more correct way?
p / s storyboard in the application is not used. Implementation through xib.