• 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: [newbie] NSString code so it won't leak
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [newbie] NSString code so it won't leak


  • Subject: Re: [newbie] NSString code so it won't leak
  • From: Dietrich Epp <email@hidden>
  • Date: Wed, 11 Sep 2002 03:00:48 -0700

On Wednesday, September 11, 2002, at 02:32 , Chris Ross wrote:

[snip]

Can I do this in the main loop of a thread to make sure memory
free'd up correctly whilst still retaining the objects I wish to keep?
By that I mean:

[snip]

Objects that have been retained won't be deallocated. Autorelease pools are to free things from methods other than those made with alloc/init.
_______________________________________________
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: 
 >Re: [newbie] NSString code so it won't leak (From: Chris Ross <email@hidden>)

  • Prev by Date: Re: [newbie] NSString code so it won't leak
  • Next by Date: IOKit: getting optical drive type
  • Previous by thread: Re: [newbie] NSString code so it won't leak
  • Next by thread: Re: [newbie] NSString code so it won't leak
  • Index(es):
    • Date
    • Thread