问题
I have a NSArray and i need to append some values but array.append doesn't seems to works on a NSArray. What can i use to append something on a NSArray like a normal array
回答1:
You can not add or append element in NSArray
as NSArray
is immutable.For this you need to take NSMutableArray
来源:https://stackoverflow.com/questions/26948610/cant-append-value-to-my-nsarray-variable