Other Structures

The following structures are available globally.

  • Represents the current status of the application lifecycle.

    See more

    Declaration

    Swift

    public struct ApplicationStatus
  • A template that has already been compiled from a string containing double brace wrapped substitutions: {{ }}.

    Compiling a template up-front (see TemplateProcessor.compile(_:)) parses the source once into a list of plain-text and substitution sections. process(context:) then only has to join those sections, substituting values for one or more contexts without re-scanning the source.

    The substitution paths the template references are collected during compilation and exposed via substitutions, so callers can gather only the data the template actually needs.

    See more

    Declaration

    Swift

    public struct Template
  • Represents a duration of time with a specific unit and interval.

    See more

    Declaration

    Swift

    public struct TimeFrame
    extension TimeFrame: Comparable, Equatable
  • Model of data required to keep track of the current session.

    See more

    Declaration

    Swift

    public struct Session
  • Track result shows whether the dispatch being tracked has been enqueued for further processing or not along with some relevant information like the Dispatch after it’s been collected, transformed and consented and some readable info about the status of the dispatch.

    See more

    Declaration

    Swift

    public struct TrackResult : CustomStringConvertible