How to decode a long long type property in initWithCoder:
and encode in encodeWithCoder:
with NSCoder in iOS?
Thanks.
How to decode a long long type property in initWithCoder:
and encode in encodeWithCoder:
with NSCoder in iOS?
Thanks.
On iOS a long long
is 64 bit, so use the encodeInt64: forKey:
and decodeInt64ForKey:
methods.
© 2022 - 2024 — McMap. All rights reserved.