| 12345678910111213141516 |
- //
- // Bridgeable.swift
- // ark_ui_basic_bridge
- import ark_ui_basic
- /// A type that can be converted to and from its counterpart.
- public protocol Bridgeable<Counterpart> {
- associatedtype Counterpart where Counterpart: Bridgeable, Counterpart.Counterpart == Self
-
- init(_ counterpart: Counterpart)
- }
- extension Bridgeable {
- public var counterpart: Self.Counterpart { .init(self) }
- }
|