Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 iOS 中使用 NSCoder解码long long类型属性initWithCoder:并编码?encodeWithCoder:
initWithCoder:
encodeWithCoder:
谢谢。
在 iOS 上 along long是 64 位的,所以使用encodeInt64: forKey:anddecodeInt64ForKey:方法。
long long
encodeInt64: forKey:
decodeInt64ForKey: