Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jpmcgrath

macrumors newbie
Original poster
Jul 15, 2011
8
0
I'm throwing together an NSArray, within which I would like to add descriptions that are about a paragraph long. To my knowledge NSString is not the best way to store this information. What would you use?
 
If the intent is to store text and attributes, maybe NSAttributedString. But you didn't ask about attributes or formatting, so that's just a guess.

If the intent is to have mutable text, maybe NSMutableString. And you didn't mention mutability or editability, so that's another guess.

Otherwise I'm with dejo: Why not NSString? Who's been bad-mouthing the mild-mannered yet unprepossessing NSString, and where did you read these vile accusations?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.