---
title: CBAttribute
framework: corebluetooth
role: symbol
role_heading: Class
path: corebluetooth/cbattribute
---

# CBAttribute

A representation of common aspects of services offered by a peripheral.

## Declaration

```swift
class CBAttribute
```

## Overview

Overview Concrete subclasses of CBAttribute (and their mutable counterparts) represent the services a peripheral offers, the characteristics of those services, and the descriptors attached to those characteristics. The concrete subclasses are: CBService CBCharacteristic CBDescriptor

## Topics

### Identifying an Attribute

- [uuid](corebluetooth/cbattribute/uuid.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Inherited By

- [CBCharacteristic](corebluetooth/cbcharacteristic.md)
- [CBDescriptor](corebluetooth/cbdescriptor.md)
- [CBService](corebluetooth/cbservice.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Peripherals

- [CBPeripheral](corebluetooth/cbperipheral.md)
- [CBPeripheralDelegate](corebluetooth/cbperipheraldelegate.md)
- [CBPeripheralManager](corebluetooth/cbperipheralmanager.md)
- [CBPeripheralManagerDelegate](corebluetooth/cbperipheralmanagerdelegate.md)
- [CBAttributePermissions](corebluetooth/cbattributepermissions.md)
