Class

CIQRCodeDescriptor

A concrete subclass of CIBarcodeDescriptor that represents a square QR code symbol.

Declaration

@interface CIQRCodeDescriptor : CIBarcodeDescriptor

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

- initWithPayload:symbolVersion:maskPattern:errorCorrectionLevel:

Initializes a descriptor that can be used as input to the CIBarcodeGenerator filter.

+ descriptorWithPayload:symbolVersion:maskPattern:errorCorrectionLevel:

Creates a QR code descriptor encoding the given payload and parameters.

Examining a Descriptor

errorCorrectedPayload

The error-corrected payload containing the data encoded in the QR code.

symbolVersion

The version of the QR code.

maskPattern

The QR code's mask pattern.

errorCorrectionLevel

The QR code error correction level.

Error Correction Constants

CIQRCodeErrorCorrectionLevel

Constants that indicate the percentage of the symbol dedicated to error correction.

Relationships

Inherits From

See Also

Barcode Descriptions

CIBarcodeDescriptor

An abstract base class that represents a machine readable code's attributes.

CIAztecCodeDescriptor

A concrete subclass of CIBarcodeDescriptor that represents an Aztec code symbol.

CIPDF417CodeDescriptor

A concrete subclass of CIBarcodeDescriptor that represents a PDF 417 symbol.

CIDataMatrixCodeDescriptor

A concrete subclass of CIBarcodeDescriptor that represents a Data Matrix code symbol.