• 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: NSURLConnection retainCount at initialisation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >NSURLConnection retainCount at initialisation (From: Julien Palmas <email@hidden>)

  • Prev by Date: Some Questions...
  • Next by Date: Re: Getting Available iChat Buddies
  • Previous by thread: NSURLConnection retainCount at initialisation
  • Next by thread: Fwd: NSURLConnection retainCount at initialisation
  • Index(es):
    • Date
    • Thread