AI-generated Key Takeaways
-
MLKBarcodeAddress represents a parsed address from a barcode.
-
It includes properties for formatted address lines and address type.
-
Raw barcode data offers more detailed address information for advanced parsing.
-
Address parsing capabilities may be limited, relying mostly on the first address line.
-
Direct initialization of MLKBarcodeAddress is not allowed.
MLKBarcodeAddress
@interface MLKBarcodeAddress : NSObjectAn address.
-
Formatted address, containing multiple lines when appropriate.
The parsing of address formats is quite limited. Typically all address information will appear on the first address line. To handle addresses better, it is recommended to parse the raw data. The raw data is available in
Barcode‘srawValueproperty.Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<NSString *> *addressLines; -
Address type.
Declaration
Objective-C
@property (nonatomic, readonly) MLKBarcodeAddressType type; -
Unavailable.
Declaration
Objective-C
- (nonnull instancetype)init;