Contents

encode(_:forKey:)

Encodes a Boolean value and associates it with the string key.

Declaration

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

Discussion

Subclasses must override this method if they perform keyed coding.

See Also

Related Documentation

Encoding General Data