Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSteve Jones
7,417 PointsAppend string in objective C, the right way?
What is the right way to append strings in objective-C?
I want to apend an string from Array with a static text. I used below:
self.factNav.title = [NSString stringWithFormat:@"%@ Facts", _factsCategroy.factsCategroy];
But is it the right way to do it?
I heard somewhere of NSMutableString, not sure about that what it is but someone suggested to use that or appending strings.
Please advise, what is the right way to do that?