Re: AppDelegate vs Custom View Controllers for Download Task...
Re: AppDelegate vs Custom View Controllers for Download Task...
- Subject: Re: AppDelegate vs Custom View Controllers for Download Task...
- From: David Grant <email@hidden>
- Date: Tue, 16 Jun 2015 17:09:04 -0700
Assuming it's only the one call for everything you'll need when the app starts it makes sense.
Without knowing more detail it's hard to tell you that's the way you should go with it.
Sent from my iPad
> On Jun 16, 2015, at 3:37 PM, Peters, Brandon <email@hidden> wrote:
>
> Hi,
>
> I have “duplicate” code for downloading a DB file in two custom view controllers that I think would be better served if the download were initiated when the App launches on the iPhone/iPad. My plan is to make the AppDelegate a delegate of NSURL session (and the various other NSURL delegate stuff it would need) Is there any “known” danger in making the AppDelegate a NSURL session delegate?
>
> Sorry for wording.
>
> _______________________________________________
>
> 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
_______________________________________________
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