Re: Using NSMutableString* for NSString* result
Re: Using NSMutableString* for NSString* result
- Subject: Re: Using NSMutableString* for NSString* result
- From: "Alastair J.Houghton" <email@hidden>
- Date: Fri, 3 Oct 2003 17:56:11 +0100
On Friday, October 3, 2003, at 05:04 pm, Laurent Daudelin wrote:
return [NSString stringWithString:myMutableString]
Or just
return [myMutableString copy];
(You'd need to use -mutableCopy to get another NSMutableString.)
Kind regards,
Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.