Re: Autorelease pool questions
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.