Hi,
I am seeing some unexpected behaviour and was hoping someone might be able
to shed some light on this.
I have a basic Counter class. The relevant methods for the problem are:
-init
{
if (self = [super init]) {
//counter = [[NSNumber alloc] init];
counter = [NSNumber numberWithInt:0]; //
Hi,
Just wanted to thank everyone who responded to my question.
I'm trying to get the memory management stuff down cold, hence I was
breaking the memory management rules in my Counter class and was perplexed
by the results I got.
The explanations here have certainly helped increase my