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

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -