---
title: "table(for:)"
framework: coregraphics
role: symbol
role_heading: Instance Method
path: "coregraphics/cgfont/table(for:)"
---

# table(for:)

Returns the font table that corresponds to the provided tag.

## Declaration

```swift
func table(for tag: UInt32) -> CFData?
```

## Parameters

- `tag`: The tag for the table you want to obtain.

## Return Value

Return Value The font table that corresponds to the tag, or nil if no such table exists.

## See Also

### Working with Font Tables

- [tableTags](coregraphics/cgfont/tabletags.md)
- [Font Table Index Values](coregraphics/font-table-index-values.md)
- [Obsolete Font Table Index Values](coregraphics/obsolete-font-table-index-values.md)
