Structures
The following structures are available globally.
-
A type-erasure around Tweak
See morefor A/B Testing. Declaration
Swift
public struct AnyTweak : TweakTypeextension AnyTweak: Hashableextension AnyTweak: TweakClusterType -
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> where T : TweakableTypeextension Tweak: Hashableextension Tweak: TweakClusterType -
The MixpanelTweaks struct that needs to be extended to define new Tweaks for A/B testing
See moreDeclaration
Swift
public struct MixpanelTweaks : TweakLibraryType
View on GitHub
Structures Reference