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
LeafSourceobjects are registered with an instance of this class - this should only be done prior to use byLeafRenderer..allprovides aSetof theStringkeys for all sources registered with the instance.searchOrderprovides the keys of sources that an unspecified template request will search.
Topics
Initializers
Instance Properties
allAll availableLeafSources of templatessearchOrderConfigured default implicit search order ofLeafSource’s
Instance Methods
register(source:using:searchable:)Register aLeafSourceaskey
Type Methods
singleSource(_:)Convenience for initializing aLeafSourcesobject with a singleLeafSource
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype