Classes
The following classes are available globally.
-
Attachment Context facilites hierarchical components, i.e. AttachmentGroup and Attachment work together, for example setting and displaying error message and showing and dissmissing file picker.
See moreDeclaration
Swift
public class AttachmentContext
-
Basic implementation of AttachmentDelegate protocol. This is a local folder based implementation. The implementation allows Apps to store attachment locally along with the Apps, The implementation also allows Apps to further customize uploading behavoirs by overriding functions.
See moreDeclaration
Swift
open class BasicAttachmentDelegate : AttachmentDelegate
-
TableModel is the data structure being used in DataTable View.
Code Usage:
See morelet header = TableRowItem(leadingAccessories: [], trailingAccessory: nil, data: titles) let model = TableModel(headerData: header, rowData: res, isFirstRowSticky: true, isFirstColumnSticky: true, showListView: true) model.columnAttributes = ... model.didSelectRowAt = { rowIndex in print("Tapped row \(rowIndex)") } /// set a closure to check whether a dataItem located at (rowIndex, columnIndex) is valid; If it is valid, returns (true, nil); if it is not valid, returns false and an error message which is shown to users. model.validateDataItem = { rowIndex, columnIndex, dataItem in ... } /// set a closure to provide a `DataListItem` type dataItem located at (rowIndex, columnIndex) for an array of Strings and a title for inline editing mode model.listItemDataAndTitle = { rowIndex, columnIndex in ... } /// set a closure to observe a value change for inline editing mode model.valueDidChange = { change in print("valueDidChange: \(change.description)") }
Declaration
Swift
public class TableModel : ObservableObject
-
Undocumented
See moreDeclaration
Swift
public final class StyleCache : ObservableObject
-
strings configuration in OnboardingScanConfirmView
See moreDeclaration
Swift
public class OnboardingScanConfirmViewContext
-
strings configuration in OnboardingScanView
See moreDeclaration
Swift
public class OnboardingScanViewContext
-
Undocumented
See moreDeclaration
Swift
@MainActor public final class BarcodeScannerManager : ObservableObject
extension BarcodeScannerManager: BarcodeScannerDelegate
-
A barcode scanner implementation for IPCMobile (RapidScan) hardware scanners using the RapidScanCompanion SDK.
This class manages the connection via Bluetooth LE advertising (for pairing) and direct communication with connected IPCMobile HaloRing devices. It conforms to the
See moreBarcodeScanner
protocol. -
Fallback implementation for
IPCMobileScanner
when the RapidScanCompanion SDK is not available.This version provides a non-functional scanner that always reports an SDK availability error.
See moreDeclaration
Swift
@MainActor public final class IPCMobileScanner : NSObject, BarcodeScanner
-
A barcode scanner implementation for ProGlove hardware scanners using the ConnectSDK.
This class manages the connection, state, and data interaction with ProGlove devices. It conforms to the
BarcodeScanner
protocol providing a unified interface for scanning operations.It handles Bluetooth LE communication via
See morePGCentralManager
and receives barcode data throughPGPeripheralDelegate
. -
Fallback implementation for
ProGloveScanner
when the ConnectSDK is not available.This version provides a non-functional scanner that always reports an SDK availability error.
See moreDeclaration
Swift
@MainActor public final class ProGloveScanner : NSObject, BarcodeScanner
-
A barcode scanner implementation using Apple’s VisionKit framework.
This class utilizes the
DataScannerViewController
to scan barcodes and text using the device’s camera. It conforms to theBarcodeScanner
protocol.Usage
The
BarcodeScannerManager
typically manages instances of this scanner.startMonitoring()
: Checks camera permissions and prepares theDataScannerViewController
. Sets status to.ready
if successful.getScannerView()
: Returns theDataScannerViewController
instance, which should be presented by the application (e.g., via aUIViewControllerRepresentable
).triggerScan()
: Called (usually after the view is presented) to start theDataScannerViewController
‘s actual scanning process. Status becomes.scanning
.- Barcode data is reported via the
BarcodeScannerDelegate
. stopMonitoring()
: Stops the scan and releases the camera resources.
Ensure the
See moreNSCameraUsageDescription
key is included in your app’sInfo.plist
.Declaration
Swift
@MainActor public final class VisionKitScanner : NSObject, BarcodeScanner
extension VisionKitScanner: DataScannerViewControllerDelegate
-
Undocumented
See moreDeclaration
Swift
public class BannerMessageListModel : Identifiable, Equatable, ObservableObject