PlatformEntity

@MainActor
public protocol PlatformEntity : AnyObject

Undocumented

  • Undocumented

    Declaration

    Swift

    associatedtype Base : PlatformEntity
  • ancestor Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    @_spi(FW)
    @MainActor
    var ancestor: Base? { get }
  • descendants Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    @_spi(FW)
    @MainActor
    var descendants: [Base] { get }
  • isDescendant(of:) Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    @MainActor
    func isDescendant(of other: Base) -> Bool

Introspect

  • ancestors Extension method

    Undocumented

    Declaration

    Swift

    @_spi(FW)
    @MainActor
    public var ancestors: some Sequence<Base> { get }
  • allDescendants Extension method

    Undocumented

    Declaration

    Swift

    @_spi(FW)
    @MainActor
    public var allDescendants: some Sequence<Base> { get }