Re: Beginner question about strings
Re: Beginner question about strings
- Subject: Re: Beginner question about strings
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 4 Jun 2006 15:45:18 -0700
On Jun 4, 2006, at 3:41 PM, D.K. Johnston wrote:
I'm not sure about the status of strings returned by methods like
"substringFromIndex:". I know that they're new strings. But how
long do they last? Are they autoreleased? If an object method
returns one of these strings to another object, should the string
be sent a "retain" message? etc.
This is covered in considerable detail in the documentation:
<http://developer.apple.com/documentation/Cocoa/Conceptual/
MemoryMgmt/index.html>
et al.
mmalc
_______________________________________________
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