daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Mar 23rd, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class EBookPromotionSplitTest: SplitTestProtocol {
  2.     typealias ValueType = PromotionViewControllerStyle
  3.     static var identifier: String = "ebookPromotionTest"
  4.     var value: PromotionViewControllerStyle
  5.    
  6.    
  7.     required init(group: String) {
  8.         self.value =
  9.             group == "social" ?
  10.                 PromotionViewControllerStyle.init(contentView: "\(TwitterView.self)")
  11.             :   PromotionViewControllerStyle.init(contentView: "\(NewsLetterView.self)")
  12.     }
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top