Expand description
Navigation helpers for Apple’s DDScannerResult archives.
These payloads are NSKeyedArchiver archives produced by
the private DataDetectorsCore framework and stored inline in a message’s
attributed body (e.g. under __kIMDataDetectedAttributeName,
__kIMMoneyAttributeName, or __kIMAddressAttributeName). Each archive
describes a tree of scanner results; every node has a type
(kind), an optional value (value),
the substring it matched (matched), and zero or more
nested results (children).
ScannerResult is a lazy, borrowing cursor over one node of that tree. The
semantic detector types parse themselves from a node via FromScannerResult.
Structs§
- Scanner
Result - Borrowing, lazily-resolved cursor over one
DDScannerResulttree node.
Traits§
- From
Scanner Result - Type that can recognize itself from a
ScannerResultnode.