---
title: "init(cfuuid:)"
framework: corebluetooth
role: symbol
role_heading: Initializer
path: "corebluetooth/cbuuid/init(cfuuid:)-3h0ry"
---

# init(cfuuid:)

Creates a Core Bluetooth UUID object from a Core Foundation UUID object.

## Declaration

```swift
init(cfuuid theUUID: CFUUID)
```

## Parameters

- `theUUID`: A UUID represented by a doc://com.apple.documentation/documentation/CoreFoundation/CFUUID object.

## Return Value

Return Value A new CBUUID object for the specified UUID.

## See Also

### Creating New CBUUID Objects

- [init(string:)](corebluetooth/cbuuid/init(string:).md)
- [init(data:)](corebluetooth/cbuuid/init(data:).md)
- [init(nsuuid:)](corebluetooth/cbuuid/init(nsuuid:)-2amob.md)
