Jens,

I will try that. I did find an example of what I described on GitHub, but again 
your solution sounds clean. Thanks.

On Jun 16, 2015, at 6:43 PM, Jens Alfke 
<j...@mooseyard.com<mailto:j...@mooseyard.com>> wrote:


On Jun 16, 2015, at 3:37 PM, Peters, Brandon 
<bap...@my.fsu.edu<mailto:bap...@my.fsu.edu>> wrote:

Is there any “known” danger in making the AppDelegate a NSURL session delegate?

No, but it doesn’t sound like a good design. The app delegate is for starting 
up the app and responding to some events from outside.

It would be cleaner to create a new class for managing the download, and make 
that the delegate. Then the app delegate can just make a one-line call to that.

—Jens

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to