Synthesize NSMutableString retain count question
Synthesize NSMutableString retain count question
- Subject: Synthesize NSMutableString retain count question
- From: Philip Vallone <email@hidden>
- Date: Wed, 03 Feb 2010 06:55:09 -0500
Hi List,
This is probably a very elementary question. I have a NSMutableString that I Synthesize. When I assigned a value to it:
currentSection = @"Some value";
The retain count goes to 1
However if I assign a value with
[currentSection setString:@"Some value"];
The retain count is still zero.
Can someone explain the difference?
Thanks,
Phil
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden