AI-generated Key Takeaways
-
BarcodeAddress represents a parsed address with properties for formatted lines and address type.
-
Address parsing is limited, often placing all information on the first line; using raw data from Barcode's
rawValueis recommended for more comprehensive address handling. -
It includes properties like
addressLinesfor formatted address lines andtypefor address classification.
BarcodeAddress
class BarcodeAddress : 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
Swift
var addressLines: [String]? { get } -
Address type.
Declaration
Swift
var type: BarcodeAddressType { get } -
Unavailable.