I just can’t seem to resolve the error that comes up here: “Assigning to ‘NSMutableString *__strong’ from incompatible type ‘void'”. The array string value I am trying to append is an NSArray constant.
NSMutableString *reportString
reportString = [reportString appendString:[reportFieldNames objectAtIndex:index]];
appendStringis avoidmethod; you are probably looking forYou can avoid
appendaltogether by combining it with the initialization:Note that there is another appending method of
NSStringthat requires an assignment: