• 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: asynchronous nsurlconnection in nsoperation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: asynchronous nsurlconnection in nsoperation


  • Subject: Re: asynchronous nsurlconnection in nsoperation
  • From: Sebastian Celis <email@hidden>
  • Date: Wed, 21 Mar 2012 14:36:17 -0500

On Wed, Mar 21, 2012 at 10:59 AM, Ariel Feinerman <email@hidden> wrote:
> I wish to insert an asynchronous NSURLConnection into non-concurrent
> NSOperation

Hi Ariel,

MBRequest does this. It is done by forcing the operation's runloop to
continue running while the network connection is in progress. I would
recommend looking though the source code. Specifically, take a look at
MBURLConnectionOperation.

https://github.com/mobiata/MBRequest
https://github.com/mobiata/MBRequest/blob/master/Classes/MBURLConnectionOperation.m

- Sebastian
_______________________________________________

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: asynchronous nsurlconnection in nsoperation
      • From: Ariel Feinerman <email@hidden>
References: 
 >asynchronous nsurlconnection in nsoperation (From: Ariel Feinerman <email@hidden>)

  • Prev by Date: Re: makeObjectsPerformSelector on a sub class
  • Next by Date: Re: makeObjectsPerformSelector on a sub class
  • Previous by thread: Re: asynchronous nsurlconnection in nsoperation
  • Next by thread: Re: asynchronous nsurlconnection in nsoperation
  • Index(es):
    • Date
    • Thread