discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why does an NSNumber start off with a retain count of 2?


From: Richard Frith-Macdonald
Subject: Re: Why does an NSNumber start off with a retain count of 2?
Date: Wed, 22 Mar 2006 21:33:59 +0000

Because it's cached by the system for better performance, but retain counting has not been disabled ... so it can raise an exception if bad code tries to release a cached object when it shouldn't.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]