---
metadata:
  - name: generator
    content: Diplodoc Platform v5.64.0
alternate:
  - https://appmetrica.yandex.com.tr/docs/en/sdk/ios/analytics/swift/CustomCounterAttribute.md
  - https://appmetrica.yandex.com.tr/docs/ru/sdk/ios/analytics/swift/CustomCounterAttribute.md
  - https://appmetrica.yandex.com.tr/docs/zh/sdk/ios/analytics/swift/CustomCounterAttribute.md
  - href: https://appmetrica.yandex.com.tr/docs/zh/sdk/ios/analytics/swift/CustomCounterAttribute.md
    type: text/markdown
    title: Markdown version
  - href: https://appmetrica.yandex.com.tr/docs/zh/llms.txt?revision=r21874424
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://appmetrica.yandex.com.tr/docs/zh/llms.txt?revision=r21874424

# CustomCounterAttribute 协议

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

## Instance methods {#instance_summary}

#|
|| [withDelta(_:)](#method_withDelta) | 用指定的增量值更新属性值。 ||
|#

## Method descriptions {#method_detail}

### withDelta(_:) {#method_withDelta}

```swift translate=no
func withDelta(_ value: Double) -> UserProfileUpdate
```

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

**参数：**

#|
|| `value` | 要将属性值更改为的差值。 ||
|#

**返回：**

The `用户配置更新` 类实例。
