1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Returning Values from Server

Discussion in 'Mac Programming' started by sivaprakash, May 10, 2011.

  1. macrumors member


    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?
  2. macrumors 68030


    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)

Share This Page