What is the advantage of using 'int' on arm64 architecture?
Since Apple forces apps using arm64 on next February, and it suggests us using NSInteger, most of value we will probably be 8 bytes, like size_t, time_t, etc. And also, most apps face no memory issue. Except for adopting data from or to other APIs using 'int', it seems there are little chance we use 'int', is that right?
More questions, is using 'int' be more efficient, saving more memory than 'long' in arm64?
I don't think you need int for consuming API's.
You can use an NSNumber property.
You can get Integer value of NSNumber like this: