Re: NSURLConnection retainCount at initialisation
Re: NSURLConnection retainCount at initialisation
- Subject: Re: NSURLConnection retainCount at initialisation
- From: Andreas Monitzer <email@hidden>
- Date: Sun, 20 Jun 2004 05:00:33 +0200
On Jun 19, 2004, at 21:52, Julien Palmas wrote:
why do i get a retainCount of 2 when i create a NSURLConnection with
the following code ?
myURL = [NSURL URLWithString:@"http://www.apple.com"];
myRequest = [NSMutableURLRequest requestWithURL:myURL];
myConnection = [NSURLConnection connectionWithRequest:myRequest
delegate:self];
NSURLConnection is retaining itself until the download has completed
most likely.
andy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.