Instance Method インスタンスメソッド

decodeInt32ForKey:

Decodes and returns a 32-bit integer value that was previously encoded with encodeInt:forKey:, encodeInteger:forKey:, encodeInt32:forKey:, or encodeInt64:forKey: and associated with the string key. ある32ビット整数値を復号して返します、それは以前にencodeInt:forKey:encodeInteger:forKey:encodeInt32:forKey:、またはencodeInt64:forKey:で符号化されて文字列keyと結び付けられたものです。

Declaration 宣言

- (int32_t)decodeInt32ForKey:(NSString *)key;

Discussion 議論

If the encoded integer does not fit into a 32-bit integer, the method raises an NSRangeException. Subclasses must override this method if they perform keyed coding. 符号化された整数が32ビット整数に収まらないならば、このメソッドはNSRangeExceptionを引き起こします。サブクラスは、それらがキー付きコーディングを実行するならば、このメソッドをオーバーライドする必要があります。

See Also 参照

Decoding General Data 一般的なデータを復号する