I have 2 ViewControllers, A and B. ViewController A uses sockets and updates its data whenever changes occur.
How can I pass those updated data to ViewController B when it's already presented (programmatically) by A?
I'm thinking to pass ViewController A's update handler class to ViewController B and take advantage of the fact that classes are reference-type, so any change would happen to A's handler, it would also happen to B's. Is it a valid architectural choice?