Classes

The following classes are available globally.

  • A foreground iPad can vend the same request/reply protocol as the paired phone. GATT indications carry replies and change hints; each request is applied only by the host.

    See more

    Declaration

    Swift

    final class RiValT_BluetoothRemote : NSObject, ObservableObject
    extension RiValT_BluetoothRemote: CBCentralManagerDelegate, CBPeripheralDelegate
  • The Watch observes the chosen device. Only that device can change the timer.

    See more

    Declaration

    Swift

    @MainActor
    final class RiValT_ObservableModel : ObservableObject
  • The iPhone or iPad owns the timer. A Watch sends explicit, expiring commands against a state it has seen.

    See more

    Declaration

    Swift

    @MainActor
    final class RiValT_WatchDelegate : NSObject
    extension RiValT_WatchDelegate: WCSessionDelegate

Main Watch App

  • Activate connectivity even for background deliveries, without requiring the timer screen to appear.

    See more

    Declaration

    Swift

    @MainActor
    final class RiValT_Watch_AppDelegate : NSObject, WKApplicationDelegate