objective c - When should we use 'int' on iOS App based on arm64 architecture? -
objective c - When should we use 'int' on iOS App based on arm64 architecture? -
what advantage of using 'int' on arm64 architecture?
since apple forces apps using arm64 on next february, , suggests using nsinteger, of value 8 bytes, size_t, time_t, etc. , also, apps face no memory issue. except adopting info or other apis using 'int', seems there little chance utilize 'int', right?
more questions, using 'int' more efficient, saving more memory 'long' in arm64?
i don't think need int consuming api's.
you can utilize nsnumber property.
@property (nonatomic, copy) nsnumber *number;
you can integer value of nsnumber this:
[number intvalue];
ios objective-c apple nsinteger arm64
Comments
Post a Comment