encode(_:forKey:)
Encodes a given 32-bit integer value and associates it with a key.
Declaration
func encode(_ value: Int32, forKey key: String)Parameters
- value:
The value to encode.
- key:
The key with which to associate
intv. This value must not benil.