Re: Yet another memory management question - THANKS
Re: Yet another memory management question - THANKS
- Subject: Re: Yet another memory management question - THANKS
- From: Bruce Truax <email@hidden>
- Date: Fri, 08 Sep 2006 14:05:48 -0400
- Thread-topic: Yet another memory management question - THANKS
Thanks joar, now I see what I was doing. It is quite obvious once someone
points out the problem. And Thanks Greg for the streamlined code, it works
great. I do have one question related to the following sequence:
NSString *tempString
tempString = [variable capitalizedString];
Am I correct in assuming that [variable capitalizedString] automatically
creates and allocates a new autoreleased string? Is this always the case
when using Cocoa methods which return objects? Are they already init'd
allocated and autoreleased?
Bruce
_______________________________________________
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