Structures

The following structures are available globally.

  • Tweaks let you adjust things on the fly. Because each T needs a UI component, we have to restrict what T can be - hence T: TweakableType. If T: SignedNumberType, you can declare a min / max for a Tweak.

    See more

    Declaration

    Swift

    public struct Tweak<T: TweakableType>
  • A type-erasure around Tweak for A/B Testing.

    See more

    Declaration

    Swift

    public struct AnyTweak: TweakType