---
metadata:
  - name: generator
    content: Diplodoc Platform v5.54.2
alternate:
  - https://appmetrica.yandex.by/docs/en/sdk/ios/analytics/swift/CustomCounterAttribute.md
  - https://appmetrica.yandex.by/docs/ru/sdk/ios/analytics/swift/CustomCounterAttribute.md
  - href: en/sdk/ios/analytics/swift/CustomCounterAttribute.md
    type: text/markdown
    title: Markdown version
  - href: ../../../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://appmetrica.yandex.by/docs/en/llms.txt

# CustomCounterAttribute protocol

The protocol defines methods for updating the value of the tag type attribute.

## Instance methods {#instance_summary}

#|
|| [withDelta(_:)](#method_withDelta) | Updates the attribute value with the specified delta value. ||
|#

## Method descriptions {#method_detail}

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

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

Updates the attribute value with the specified delta value.

**Parameters:**

#|
|| `value` | The delta value to change the attribute value to. ||
|#

**Returns:**

The `UserProfileUpdate` class instance.
