• 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: What's the best way to run an NSURLProtocol session?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the best way to run an NSURLProtocol session?


  • Subject: Re: What's the best way to run an NSURLProtocol session?
  • From: Rick Mann <email@hidden>
  • Date: Fri, 17 Oct 2014 11:23:48 -0700

We have an app that is used primarily offline, and generates a couple hundred megabytes of data (it's a 3D scanning app). Usually it's used on an iPad in a location that has no Internet access. Eventually, the user comes back to a Wi-Fi network, and then has to launch the app to upload the captured data.

I'd love to move to NSURLSession to automate this, so the user doesn't have to take any action once they're back online. Is this possible?

Thanks,
Rick

> On Oct 17, 2014, at 01:25 , Quinn The Eskimo! <email@hidden> wrote:
>
>
> On 16 Oct 2014, at 23:48, Daryle Walker <email@hidden> wrote:
>
>> What's the best way to run an NSURLProtocol session?
>
> I don't think there is a single "best way"; it depends on what your back end APIs look like.  The critical thing is that you follow the threading rules outlined in the CustomHTTPProtocol read me.
>
> I realise that this is kinda vague.  If you supply more details about what your protocol is doing, I will offer up a more concrete response.
>
> Share and Enjoy
> --
> Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
> Apple Developer Relations, Developer Technical Support, Core OS/Hardware
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Macnetworkprog mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


--
Rick Mann
email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: What's the best way to run an NSURLProtocol session?
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
References: 
 >What's the best way to run an NSURLProtocol session? (From: Daryle Walker <email@hidden>)
 >Re: What's the best way to run an NSURLProtocol session? (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: PeerToPeer Replications using bonjour not working with IPV6 addresses
  • Next by Date: Re: What's the best way to run an NSURLProtocol session?
  • Previous by thread: Re: What's the best way to run an NSURLProtocol session?
  • Next by thread: Re: What's the best way to run an NSURLProtocol session?
  • Index(es):
    • Date
    • Thread