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.
long long型のプロパティを iOS の NSCoder でデコードしinitWithCoder:てエンコードする方法は?encodeWithCoder:
initWithCoder:
encodeWithCoder:
ありがとう。
iOS では along longは 64 ビットなので、 メソッドencodeInt64: forKey:とdecodeInt64ForKey:メソッドを使用します。
long long
encodeInt64: forKey:
decodeInt64ForKey: