<!--
{
  "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/CIDataMatrixCodeDescriptor/eccVersion-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(cs)CIDataMatrixCodeDescriptor(py)eccVersion"
  },
  "title" : "eccVersion"
}
-->

# eccVersion

The error correction version of the Data Matrix code symbol.

```
var eccVersion: CIDataMatrixCodeDescriptor.ECCVersion { get }
```

## Discussion

The possible error correction version are enumerated in [`CIDataMatrixCodeDescriptor.ECCVersion`](/documentation/CoreImage/CIDataMatrixCodeDescriptor/ECCVersion-swift.enum).
Any symbol with an even number of rows and columns will be ECC 200.

---

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)