Making an array of integers in iOS

后端 未结 7 1993
悲哀的现实
悲哀的现实 2020-12-07 12:17

If you want to make an array of integers, can you use NSInteger? Do you have to use NSNumber? If so, then why?

7条回答
  •  猫巷女王i
    2020-12-07 12:31

    I created a simple Objective C wrapper around the good old C array to be used more conveniently: https://gist.github.com/4705733

提交回复
热议问题