decodeCInt(forKey:)
Decodes and returns an int 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 decodeCInt(forKey key: String) -> Int32Discussion
If the encoded integer does not fit into the default integer size, 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:)decodeInteger(forKey:)decodeInt32(forKey:)decodeInt64(forKey:)decodeObject()decodeObject(forKey:)decodePoint()decodePoint(forKey:)decodePropertyList()