Slide 8
Slide 8 text
ABTesterProtocol
associatedtype ABTestPatternType: ABTestPatternProtocol
associatedtype ABTestKey: ABTestKeyProtocol
func getCurrentPatternKey() -> ABTestKey
A/B test logic functions
extension ABTesterProtocol {
private func getTargetPattern() -> ABTestPatternType? {
return getCurrentPatternKey().pattern as? Self.ABTestPatternType
}
}