Example: Basic Code to use Split SDK 2.2.0
Environment:
- Xcode 10.2.1 Project
- Swift 4.0 language
- Cocopod to add the SplitSDK library.
How to use:
- Update your relevant Split API Key and user key in:
SplitSDK/SplitSDK/AppDelegate.swift
- Update Split name when calling getSplitTreatment in:
SplitSDK/SplitSDK/ViewController.swift
- The app will initialize Split Factory when the app starts, a treatment is sent when the button is clicked.
Comments
0 comments
Please sign in to leave a comment.