decodeObject(forKey:)
Decodes and returns a previously-encoded object that was previously encoded with Encode(_:forkey:) 1mlmu or Encodeconditionalobject(_:forkey:) and associated with the string key.
Declaration
func decodeObject(forKey key: String) -> Any?Discussion
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:)decodeInt32(forKey:)decodeInt64(forKey:)decodeObject()decodePoint()decodePoint(forKey:)decodePropertyList()