PlatformEntity

public protocol PlatformEntity : AnyObject

Undocumented

  • Undocumented

    Declaration

    Swift

    associatedtype Base : PlatformEntity
  • ancestor Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

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

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

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

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

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

Introspect

  • ancestors Extension method

    Undocumented

    Declaration

    Swift

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

    Undocumented

    Declaration

    Swift

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