<!--
{
  "availability" : [
    "macOS: 10.5.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWorkspace/localizedDescription(forType:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWorkspace(im)localizedDescriptionForType:"
  },
  "title" : "localizedDescription(forType:)"
}
-->

# localizedDescription(forType:)

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

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

## Parameters

`typeName`

A string containing the UTI.

## Return Value

An <doc://com.apple.documentation/documentation/Foundation/NSString> containing the localized description of `typeName`. You may display this string to the user.

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)