[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: |
Issac Trotts |
Subject: |
Re: Why does an NSNumber start off with a retain count of 2? |
Date: |
Wed, 22 Mar 2006 14:05:14 -0800 |
Good to know. Thanks. -ijt
On 3/22/06, Richard Frith-Macdonald <richard@brainstorm.co.uk> wrote:
> 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.
>