<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UniformTypeIdentifiers",
  "identifier" : "/documentation/UniformTypeIdentifiers/UTTypeReference/init(exportedAs:conformingTo:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Uniform Type Identifiers",
      "UniformTypeIdentifiers"
    ],
    "preciseIdentifier" : "c:objc(cs)UTType(cm)exportedTypeWithIdentifier:conformingToType:"
  },
  "title" : "init(exportedAs:conformingTo:)"
}
-->

# init(exportedAs:conformingTo:)

Creates a type your app owns based on an identifier and a supertype that it conforms to.

```
init(exportedAs identifier: String, conformingTo parentType: UTType)
```

## Parameters

`identifier`

The identifier of your type.

`parentType`

A type to extend for your own type.

## Discussion

---

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)