Contents

encode(_:forKey:)

Encodes an integer value and associates it with the string key.

Declaration

func encode(_ value: Int, forKey key: String)

Discussion

Subclasses must override this method if they perform keyed coding.

See Also

Related Documentation

Encoding General Data