Friday, 6 September 2013

Associate between server response and view controller

Associate between server response and view controller

I'm a beginner developer in Objective-C\iOS and I have this simple question.
My program interact with a server side and I use GCDAsyncSocket for
asynchronous communication.
I wonder, suppose the use is opening my status view controller which
causes a request for server, BUT before the response arrives he has
already moved to a different view!
What is the right way the handle this situation??
Thank you!

No comments:

Post a Comment