Contents

decodeInteger(forKey:)

Decodes and returns an NSInteger 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 decodeInteger(forKey key: String) -> Int

Discussion

If the encoded integer does not fit into the NSInteger size, the method raises an NSRangeException. Subclasses must override this method if they perform keyed coding.

See Also

Decoding General Data