BCKCode128CodeCharacter Class Reference
| Inherits from | BCKCodeCharacter : NSObject |
| Declared in | BCKCode128CodeCharacter.h |
Class Methods
characterAtPosition:
Return the character representation for a given index in the code table. Note: the Code128 version does not matter here because we are interested in binary string at given position.
+ (BCKCode128CodeCharacter *)characterAtPosition:(NSUInteger)positionParameters
- position
The position of the character to return.
Return Value
The content code character.
Declared In
BCKCode128CodeCharacter.hcodeCharacterForCharacter:codeVersion:
Generates a code character to represent a content character.
+ (instancetype)codeCharacterForCharacter:(NSString *)character codeVersion:(BCKCode128Version)codeVersionParameters
- character
The character to encode.
- codeVersion
The Code128 version to use.
Return Value
The content code character.
Declared In
BCKCode128CodeCharacter.hstartCodeForVersion:
Generates a start code for a particular Code128 version.
+ (BCKCode128CodeCharacter *)startCodeForVersion:(BCKCode128Version)codeVersionParameters
- codeVersion
The Code128 version used.
Return Value
The start code character
Declared In
BCKCode128CodeCharacter.hstopCharacter
Generates a Code128 stop character.
+ (BCKCode128CodeCharacter *)stopCharacterReturn Value
The stop marker code character.
Declared In
BCKCode128CodeCharacter.hswitchCodeToVersion:
Returns the control character for switching barcodes to a specific version of Code128.
+ (BCKCode128CodeCharacter *)switchCodeToVersion:(BCKCode128Version)targetVersionParameters
- targetVersion
The Code 128 version to switch to.
Return Value
The character to alter subsequent characters' type.
Declared In
BCKCode128CodeCharacter.h