Inherits from BCKCode : NSObject
Conforms to BCKCoding
Declared in BCKCode39Code.h

Overview

Specialized subclass of BCKCode to represent a Code39 barcode.

Class Methods

code93WithContent:error:

Alternative initializer for subclasses of the BCKCode39Code class cluster. It will determine the correct subclass to use depending on whether the content includes full ASCII characters. A modulo 43 check digit character will NOT be included.

+ (instancetype)code93WithContent:(NSString *)content error:(NSError *__autoreleasing *)error

Parameters

content

The content string to be encoded by the subclass.

error

Optional output parameter to take an NSError in case the content cannot be encoded by this barcode class. Pass nil if not error information is not required.

Return Value

The requested BCKCode39Code (sub)class. Returns nil if the provided content cannot be encoded by the requested BCKCode39Code subclass, the error object will provide error details.

Declared In

BCKCode39Code.h

code93WithContent:withModulo43:error:

Designated initializer for subclasses of the BCKCode39Code class cluster. It will instantiate the correct subclass based on whether the content includes full ASCII characters. You may also call initWithContent: on BCKCode39Code or any of its subclasses directly.

+ (instancetype)code93WithContent:(NSString *)content withModulo43:(BOOL)withModulo34 error:(NSError *__autoreleasing *)error

Parameters

content

The content string to be encoded by the subclass.

withModulo34

Whether the barcode should be encoded including the modulo 43 check digit character.

error

Optional output parameter to take an NSError in case the content cannot be encoded by this barcode class. Pass nil if not error information is not required.

Return Value

The requested BCKCode39Code (sub)class. Returns nil if the provided content cannot be encoded by the requested BCKCode39Code subclass, the error object will provide error details.

Declared In

BCKCode39Code.h

Instance Methods

generateModulo43ForContentCodeCharacter:

Calculates the Modulo-43 check content character for an array of content code characters. Used by BCKCode39Code subclasses that support the Modulo-43 check.

- (BCKCode39ContentCodeCharacter *)generateModulo43ForContentCodeCharacter:(NSArray *)contentCodeCharacters

Parameters

contentCodeCharacters

The array of contentCodeCharacters the Modulo-43 check character will be generated for. Must not include start/stop, space and other marker code characters.

Return Value

The Modulo-43 check content code character.

Declared In

BCKCode39Code.h