Contents

decodeInt32(forKey:)

Decodes and returns a 32-bit integer value that was previously encoded with Encodecint(_:forkey:), Encode(_:forkey:) 2dprz, Encode(_:forkey:) 5sk4z, or Encode(_:forkey:) Dixg and associated with the string key.

Declaration

func decodeInt32(forKey key: String) -> Int32

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.

See Also

Decoding General Data