Re: NSString initWithUTF8String - crazy retainCount with empty string
Re: NSString initWithUTF8String - crazy retainCount with empty string
- Subject: Re: NSString initWithUTF8String - crazy retainCount with empty string
- From: Uli Kusterer <email@hidden>
- Date: Sun, 25 Mar 2007 00:39:35 +0100
Am 24.03.2007 um 17:31 schrieb Simon Strandgaard:
As a relatively unexperienced mac developer, I wrongly assumed that
NSString initWithUTF8String would return an unique instance.
I still don't master referencecounting and thus believed that having
a check to ensure things were good would help me to detect when
I had screwed up refcounting. Long story.
You may be interested in http://www.latenightcocoa.com/ - it's a
podcast about Cocoa programming and covers various topics. The latest
one is on memory management. I'm obviously biased, but I think that
podcast should clear up some of the questions about Cocoa memory
management you may have, especially since it also contrasts Cocoa's
memory management to traditional C memory management.
Would love to hear your opinion on it (off-list).
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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