I have an NSMutableArray of objects. Each object has a property called “Name”. I want to join them together in a string with a separator ” > “.
So if the name property in each of the objects in my array is “one”, “two” and “three” respectively, the result would be “one > two > three”.
Thanks,
howie
To get all the
nameproperties, use Key-Value Coding. Then you can just docomponentsJoinedByString:to combine them all: