NSMutableString question
NSMutableString question
- Subject: NSMutableString question
- From: John Zorko <email@hidden>
- Date: Tue, 16 Sep 2008 17:56:22 -0700
Hello, all ...
I've another simple ObjC question that I hope someone can answer --
this has to do with memory management and NSMutableString. If I do
this:
NSString *str = [NSMutableString string];
... what is the best way to reclaim that space? Do I do [str release]
(no alloc was called by me, so I think not, but i'm not sure), or str
= nil, or something else?
Regards,
John
Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com
_______________________________________________
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