---
title: "localizedDescription(forType:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsworkspace/localizeddescription(fortype:)"
---

# localizedDescription(forType:)

Returns the localized description for the specified Uniform Type Identifier (UTI).

## Declaration

```swift
func localizedDescription(forType typeName: String) -> String?
```

## Parameters

- `typeName`: A string containing the UTI.

## Return Value

Return Value An NSString containing the localized description of typeName. You may display this string to the user.

## Discussion

Discussion You can safely call this method from any thread of your app.

## See Also

### Manipulating Uniform Type Identifier Information

- [type(ofFile:)](appkit/nsworkspace/type(offile:).md)
- [preferredFilenameExtension(forType:)](appkit/nsworkspace/preferredfilenameextension(fortype:).md)
- [filenameExtension(_:isValidForType:)](appkit/nsworkspace/filenameextension(_:isvalidfortype:).md)
- [type(_:conformsToType:)](appkit/nsworkspace/type(_:conformstotype:).md)
