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

This email sent to [EMAIL PROTECTED]

Reply via email to