---
title: "UTTypeCopyDeclaration(_:)"
framework: coreservices
role: symbol
role_heading: Function
path: coreservices/1442505-uttypecopydeclaration
---

# UTTypeCopyDeclaration(_:)

Returns a uniform type’s declaration.

## Declaration

```swift
func UTTypeCopyDeclaration(_ inUTI: CFString) -> Unmanaged<CFDictionary>?
```

## Parameters

- `inUTI`: A uniform type identifier.

## Return Value

Return Value A dictionary that contains the uniform type’s declaration, or NULL if no declaration for that type can be found.

## Discussion

Discussion A uniform type identifier is declared in a bundle’s information Property list (info.plist). This function extracts and returns a dictionary that contains the complete declaration of the uniform type identifier. This is useful when your application needs to access properties that does not have a built-in accessor function. For more information on the dictionary format, see Uniform Type Identifiers Overview.
