• 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: Autorelease pool questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autorelease pool questions


  • Subject: Re: Autorelease pool questions
  • From: Lance Bland <email@hidden>
  • Date: Mon, 20 Jan 2003 09:25:48 -0500

On Sunday, January 19, 2003, at 03:08 PM, Rakesh Pandey wrote:

> I could not understand why is it so ?

hi-

because [NSString init] is an immutable shared object (string) and
retainCount == INT_MAX means don't dealloc? It could be a
implementation detail, a bug, or a documentation error in the NSString
docs.

[NSMutableString init] is probably more common.

-lance

------------------------------------
Lance Bland
mailto:email@hidden
VVI Is The #1 Visual-Report Tool Developer For Mac OS X
http://www.vvi.com
_______________________________________________
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: Autorelease pool questions (From: "Rakesh Pandey" <email@hidden>)

  • Prev by Date: Re: fluid motion
  • Next by Date: saveDocument and wrapper of wrappers
  • Previous by thread: Re: Autorelease pool questions
  • Next by thread: Re: Autorelease pool questions
  • Index(es):
    • Date
    • Thread