Can't append value to my NSArray variable

后端 未结 1 734
孤独总比滥情好
孤独总比滥情好 2021-01-28 19:16

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

相关标签:
1条回答
  • 2021-01-28 20:21

    You can not add or append element in NSArray as NSArray is immutable.For this you need to take NSMutableArray

    0 讨论(0)
提交回复
热议问题