Skip to content

Class

LeafSources

An opaque object holding named LeafSource adherants specifying a default search order.
final class LeafSources

Overview

This object is public solely for convenience in reading the currently configured state.

Once registered, the LeafSource objects can not be accessed or modified - they must be fully configured prior to registering with the instance of LeafSources

  • LeafSource objects are registered with an instance of this class - this should only be done prior to use by LeafRenderer.

  • .all provides a Set of the Stringkeys for all sources registered with the instance

  • .searchOrder provides the keys of sources that an unspecified template request will search.

Topics

Initializers

Instance Properties

  • all
    All available LeafSources of templates
  • searchOrder
    Configured default implicit search order of LeafSource’s

Instance Methods

Type Methods

  • singleSource(_:)
    Convenience for initializing a LeafSources object with a single LeafSource

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype