Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sivaprakash

macrumors member
Original poster
Mar 10, 2011
52
0
Chennai, India
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

macrumors 68030
Dec 8, 2003
2,967
1
Seattle
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)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.