---
title: "CFCharacterSetCreateMutable(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfcharactersetcreatemutable(_:)"
---

# CFCharacterSetCreateMutable(_:)

Creates a new empty mutable character set.

## Declaration

```swift
func CFCharacterSetCreateMutable(_ alloc: CFAllocator!) -> CFMutableCharacterSet!
```

## Parameters

- `alloc`: The allocator to use to allocate memory for the new object. Pass NULL or kCFAllocatorDefault to use the current default allocator.

## Return Value

Return Value A new empty mutable character set. Ownership follows the The Create Rule.

## See Also

### Creating a Mutable Character Set

- [CFCharacterSetCreateMutableCopy(_:_:)](corefoundation/cfcharactersetcreatemutablecopy(_:_:).md)
