CustomCounterAttribute 协议

该协议定义了更新标签类型属性值的方法。

Instance methods

withDelta(_:)

用指定的增量值更新属性值。

Method descriptions

withDelta(_:)

func withDelta(_ value: Double) -> UserProfileUpdate

用指定的增量值更新属性值。

参数:

value

要将属性值更改为的差值。

返回:

The 用户配置更新 类实例。