CBAttribute is an abstract base class that defines behavior common to the collection of objects that represent aspects of services offered by a peripheral.


class CBAttribute : NSObject


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


Identifying an Attribute

var uuid: CBUUID

The Bluetooth-specific UUID of the attribute.


Inherits From

Conforms To

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software