Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. class PurchaseButtonColorSplitTest: SplitTestProtocol {
  2. typealias ValueType = UIColor
  3.  
  4. static var identifier: String = "purchase_button_color"
  5. var value: ValueType
  6.  
  7. required init(group: String) {
  8. if group == "a" {
  9. self.value = UIColor.red
  10. } else {
  11. self.value = UIColor.green
  12. }
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement