---
title: CIQRCodeDescriptor
framework: coreimage
role: symbol
role_heading: Class
path: coreimage/ciqrcodedescriptor
---

# CIQRCodeDescriptor

A concrete subclass of the Core Image Barcode Descriptor that represents a square QR code symbol.

## Declaration

```swift
class CIQRCodeDescriptor
```

## Overview

Overview ISO/IEC 18004 defines versions from 1 to 40, where a higher symbol version indicates a larger data-carrying capacity. QR Codes can encode text, vCard contact information, or Uniform Resource Identifiers (URI).

## Topics

### Creating a Descriptor

- [init(payload:symbolVersion:maskPattern:errorCorrectionLevel:)](coreimage/ciqrcodedescriptor/init(payload:symbolversion:maskpattern:errorcorrectionlevel:).md)

### Examining a Descriptor

- [errorCorrectedPayload](coreimage/ciqrcodedescriptor/errorcorrectedpayload-swift.property.md)
- [symbolVersion](coreimage/ciqrcodedescriptor/symbolversion-swift.property.md)
- [maskPattern](coreimage/ciqrcodedescriptor/maskpattern-swift.property.md)
- [errorCorrectionLevel](coreimage/ciqrcodedescriptor/errorcorrectionlevel-swift.property.md)

### Error Correction Constants

- [CIQRCodeDescriptor.ErrorCorrectionLevel](coreimage/ciqrcodedescriptor/errorcorrectionlevel-swift.enum.md)

## Relationships

### Inherits From

- [CIBarcodeDescriptor](coreimage/cibarcodedescriptor.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Barcode Descriptions

- [CIBarcodeDescriptor](coreimage/cibarcodedescriptor.md)
- [CIAztecCodeDescriptor](coreimage/ciazteccodedescriptor.md)
- [CIPDF417CodeDescriptor](coreimage/cipdf417codedescriptor.md)
- [CIDataMatrixCodeDescriptor](coreimage/cidatamatrixcodedescriptor.md)
