Structures
The following structures are available globally.
-
The MixpanelTweaks struct that needs to be extended to define new Tweaks for A/B testing
See moreDeclaration
Swift
public struct MixpanelTweaks: TweakLibraryType
-
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 moreDeclaration
Swift
public struct Tweak<T: TweakableType>