Strange Retain Count?
Strange Retain Count?
- Subject: Strange Retain Count?
- From: "Brian O'Brien" <email@hidden>
- Date: Mon, 21 Nov 2005 21:10:23 -0700
testClass *test = [[[testClass alloc] init] autorelease];
NSLog(@"test retain count = %d", [test retainCount]);
Prints out:
2005-11-21 21:05:54.165 testDNewServer[2090] test retain count = 2
Is 2 right????
I thought it should be one..
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden