I’m getting Format not a string literal and no format arguments compilation error.
Here is my code
I’m trying to append NSMutableArray.
for (int i=0; i<feed.count; i++) {
[html appendFormat:[self.itemName objectAtIndex:i]]; }
Can someone help me please.
The appendFormat: method requires a string as first parameter.
So your selector sending must be something like :
Though that you could also append directly a string :
I added the
descriptionmessage in case the object is not directly a string, to be excplicit.