• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURLConnection sync vs async connections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLConnection sync vs async connections


  • Subject: Re: NSURLConnection sync vs async connections
  • From: Ken Thomases <email@hidden>
  • Date: Thu, 23 Sep 2010 07:37:29 -0500

On Sep 23, 2010, at 4:21 AM, Devraj Mukherjee wrote:

> Previous version I used NSURLConnection to make synchronous calls to
> the API

> I would like to move towards using async requests. I can grab / parse
> the data using the delegate methods, what I am struggling with is how
> I return the data to the application incorporating my library?
>
> Notifications? Or take define a protocol that the application has to
> implement and call back appropriate messages?

You could follow the example of the class you're using.  NSURLConnection uses the delegate pattern.

Regards,
Ken

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSURLConnection sync vs async connections
      • From: Jerry Krinock <email@hidden>
References: 
 >NSURLConnection sync vs async connections (From: Devraj Mukherjee <email@hidden>)

  • Prev by Date: Re: [ANN] Release: NanoStore 1.0 for Mac and iOS
  • Next by Date: Re: [ANN] Release: NanoStore 1.0 for Mac and iOS
  • Previous by thread: NSURLConnection sync vs async connections
  • Next by thread: Re: NSURLConnection sync vs async connections
  • Index(es):
    • Date
    • Thread