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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With