---
title: CFBagCallBacks
framework: corefoundation
role: symbol
role_heading: Structure
path: corefoundation/cfbagcallbacks
---

# CFBagCallBacks

This structure contains the callbacks used to retain, release, describe, and compare the values of a CFBag object.

## Declaration

```swift
struct CFBagCallBacks
```

## Topics

### Initializers

- [init()](corefoundation/cfbagcallbacks/init().md)
- [init(version:retain:release:copyDescription:equal:hash:)](corefoundation/cfbagcallbacks/init(version:retain:release:copydescription:equal:hash:).md)

### Instance Properties

- [copyDescription](corefoundation/cfbagcallbacks/copydescription.md)
- [equal](corefoundation/cfbagcallbacks/equal.md)
- [hash](corefoundation/cfbagcallbacks/hash.md)
- [release](corefoundation/cfbagcallbacks/release.md)
- [retain](corefoundation/cfbagcallbacks/retain.md)
- [version](corefoundation/cfbagcallbacks/version.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Sendable](swift/sendable.md)
