---
title: CFOptionFlags
framework: corefoundation
role: symbol
role_heading: Type Alias
path: corefoundation/cfoptionflags
---

# CFOptionFlags

A bitfield used for passing special allocation and other requests into Core Foundation functions.

## Declaration

```swift
typealias CFOptionFlags = UInt
```

## Discussion

Discussion The flag bits are specific to particular opaque types and functions in Core Foundation.

## See Also

### Data Types

- [CFIndex](corefoundation/cfindex.md)
- [CFRange](corefoundation/cfrange.md)
