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) -> Int32Discussion
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
decodeArray(ofObjCType:count:at:)decodeBool(forKey:)decodeBytes(forKey:returnedLength:)decodeBytes(withReturnedLength:)decodeData()decodeDouble(forKey:)decodeFloat(forKey:)decodeCInt(forKey:)decodeInteger(forKey:)decodeInt64(forKey:)decodeObject()decodeObject(forKey:)decodePoint()decodePoint(forKey:)decodePropertyList()