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