• 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: NSURLDownload and userInfo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLDownload and userInfo


  • Subject: Re: NSURLDownload and userInfo
  • From: Trygve Inda <email@hidden>
  • Date: Tue, 11 Mar 2008 13:37:38 +0000
  • Thread-topic: NSURLDownload and userInfo

> Or, yet another solution:
> Just subclass NSURLConnection (say MyUserInfoURLConnection), add a
> userInfo ivar, drop in some accessors, and you are good to go. :)
> [userInfoConnection userInfo];


My code is:

NSURLRequest*    urlRequest = [NSURLRequest requestWithURL:theURL
cachePolicy:NSURLRequestReloadIgnoringCacheData timeoutInterval:60.0];

NSURLDownload*    urlDownload = [[NSURLDownload alloc]
initWithRequest:urlRequest delegate:self];

[urlDownload setDestination:path allowOverwrite:YES];

Where then can I specify that it use a custom NSURLConnection class? This is
why my initial approach was to use a custom NSURLDownload class.

Trygve


_______________________________________________

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

References: 
 >Re: NSURLDownload and userInfo (From: Adam Leonard <email@hidden>)

  • Prev by Date: Re: [Moderator] iPhone discussion here - RETRACTION
  • Next by Date: Re: Is CoreData dead?
  • Previous by thread: Re: NSURLDownload and userInfo
  • Next by thread: Re: NSURLDownload and userInfo
  • Index(es):
    • Date
    • Thread