Re: What's the best way to run an NSURLProtocol session?
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