Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. class SplitTestingManager {
  2. static func getSplitValue<Value: SplitTestProtocol>(for split: Value.Type) -> Value.ValueType {
  3. let group = UserDefaults.standard.value(forKey: split.self.identifier) as! String
  4. return Value(group: group).value
  5. }
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement