Instance Method インスタンスメソッド

set(_:forKey:)

Sets a long long value for the specified key in the key-value store. long long値をこの指定されたキーに対してキー値保管において設定します。

Declaration 宣言

func set(_ value: Int64, 
  forKey aKey: String)

Parameters パラメータ

value

The long long value to store. 格納するlong long値。

aKey

The key under which to store the value. The length of this key must not exceed 64 bytes using UTF8 encoding. それの下で値を格納することになるキー。このキーの長さは、UTF8符号化を使って64バイトを越えてはいけません。

See Also 参照

Setting Values 値を設定する