how to write async function

Discussion in 'Mac Programming' started by i.yalovecky, Jun 30, 2010.

  1. i.yalovecky macrumors member

    Feb 24, 2010
    wanna write async function like NSURLConnection initWithRequest. What i need to learn for it?
  2. kainjow Moderator emeritus


    Jun 15, 2000
    Do your heavy duty loading in the background via dispatch queues or threads. Then call back to your delegate on the main thread.

Share This Page