PDA

View Full Version : Returning Values from Server




sivaprakash
May 10, 2011, 08:33 AM
Hi

I want to return values from my server application (http://www.cocoadev.com/index.pl?DistributedObjectsSampleCode) to my client in an Asynchronous environment that is Client will not wait for that message any time. Can I use "NSDistributedNotificationCenter" to pass the value back and put it Queue so that Client can read it and show in some GUI.

Is there any other best mechanisms are out there?



jared_kipe
May 10, 2011, 04:57 PM
Why not just use NSURLConnection ?

Seems to have asynchronous loads and delegate methods to let you know when its done (AKA time to parse and update the gui)