<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIAztecCodeDescriptor",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(cs)CIAztecCodeDescriptor"
  },
  "title" : "CIAztecCodeDescriptor"
}
-->

# CIAztecCodeDescriptor

A concrete subclass the Core Image Barcode Descriptor that represents an Aztec code symbol.

```
class CIAztecCodeDescriptor
```

## Overview

An Aztec code symbol is a 2D barcode format defined by the ISO/IEC 24778:2008 standard.
It encodes data in concentric square rings around a central bullseye pattern.

## Topics

### Creating a Descriptor

[`init(payload:isCompact:layerCount:dataCodewordCount:)`](/documentation/CoreImage/CIAztecCodeDescriptor/init(payload:isCompact:layerCount:dataCodewordCount:))

Initializes an Aztec code descriptor for the given payload and parameters.

[`descriptorWithPayload:isCompact:layerCount:dataCodewordCount:`](/documentation/CoreImage/CIAztecCodeDescriptor/descriptorWithPayload:isCompact:layerCount:dataCodewordCount:)

Creates an Aztec code descriptor for the given payload and parameters.

### Examining a Descriptor

[`errorCorrectedPayload`](/documentation/CoreImage/CIAztecCodeDescriptor/errorCorrectedPayload-swift.property)

The error-corrected payload that comprises the the Aztec code symbol.

[`isCompact`](/documentation/CoreImage/CIAztecCodeDescriptor/isCompact-swift.property)

A Boolean value telling if the Aztec code is compact.

[`layerCount`](/documentation/CoreImage/CIAztecCodeDescriptor/layerCount-swift.property)

The number of data layers in the Aztec code symbol.

[`dataCodewordCount`](/documentation/CoreImage/CIAztecCodeDescriptor/dataCodewordCount-swift.property)

The number of non-error-correction codewords carried by the Aztec code symbol.



---

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)