Core

  • An smallest representable unit of a shortcut, consistent of an identifier and encodable parameters.

    See more

    Declaration

    Swift

    public struct Action : Shortcut
  • A type-erased wrapper for a Shortcut object

    See more

    Declaration

    Swift

    public struct AnyShortcut : Shortcut
  • An empty shortcut that has no actions.

    See more

    Declaration

    Swift

    public struct EmptyShortcut : Shortcut
  • A structure that computes shortcuts from an underlying collection of data.

    See more

    Declaration

    Swift

    public struct ForEach : Shortcut
  • A wrapper for numeric types supported by the Shortcuts app.

    See more

    Declaration

    Swift

    public struct Number : Hashable
    extension Number: CalculationOperandConvertible
    extension Number: Shortcut
    extension Number: ConditionNumberOperandConvertible
    extension Number: ConditionOperandConvertible
    extension Number: Encodable
    extension Number: ExpressibleByFloatLiteral
    extension Number: ExpressibleByIntegerLiteral
    extension Number: CustomStringConvertible
    extension Number: Comparable
    extension Number: Equatable
  • A shortcut that wraps another shortcut, passing its result to a closure for reference.

    See more

    Declaration

    Swift

    public struct ResultShortcut<Base, Content> : Shortcut where Base : Shortcut
  • A shortcut that wraps another shortcut, saving its result for later use.

    See more

    Declaration

    Swift

    public struct SavedOutputShortcut<Base> : Shortcut where Base : Shortcut
  • A type that represents a user workflow, or a part of one, in the Shortcuts app.

    See more

    Declaration

    Swift

    public protocol Shortcut
  • A custom parameter attribute that constructs shortcuts from closures.

    See more

    Declaration

    Swift

    @_functionBuilder
    public enum ShortcutBuilder
  • An affordance for grouping shortcut content.

    See more

    Declaration

    Swift

    public struct ShortcutGroup : Shortcut
  • A representation of one or more lines of text that can be used in shortcuts.

    See more

    Declaration

    Swift

    public struct Text : Hashable
    extension Text: Shortcut
    extension Text: ConditionOperandConvertible
    extension Text: ConditionTextOperandConvertible
    extension Text: ExpressibleByStringInterpolation
    extension Text: Encodable
  • A shortcut composed of multiple child shortcuts, expressed as a tuple of those values.

    See more

    Declaration

    Swift

    public struct TupleShortcut<T> : Shortcut