younotesunreadstarredadd url

NSString vs. NSMutableString, both can append strings? - Mac Forums

http://forums.macrumors.com/showthread.php?t=467099

january 2009code iphone memory-management objective-c sdkopen in karakeep

by Sbrocket ‧ MacRumors Forums ‧ published 2008.04.07 ‧ saved copy from 2026.03.03

Karakeep has no AI summary for this page yet. summarize now

page description:

what’s the difference between these two code blocks? Which is preferable? For a single append, or multiple appends? NSString s = [[NSString alloc] initWithString:@“Hello”]; s = [s stringByAppendingString:@“World”]; NSMutableString ms = [[NSMutableString alloc] initWithString:@“Hello”]; [ms…
screenshot of the page

« back to bookmarks