<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "ObjectiveC",
  "identifier" : "/documentation/ObjectiveC/NSObject-swift.class/imageRepresentationType()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Objective-C Runtime",
      "ObjectiveC"
    ],
    "preciseIdentifier" : "c:objc(cs)NSObject(im)imageRepresentationType"
  },
  "title" : "imageRepresentationType()"
}
-->

# imageRepresentationType()

Returns the representation type of the image to display.

```
func imageRepresentationType() -> String!
```

## Return Value

A string that specifies the image representation type. The string can be any of the constants defined in <doc://com.apple.documentation/documentation/Quartz/image-representation-types>.

## Discussion

Your data source must implement this method.

---

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)