Using this iOS app, I’ve demonstrated how to conduct an A/B testing experiment in Swift using feature flags. The purpose of this experiment is to determine whether changing the product price text color to red will increase sales. The article demonstrated how feature flags can streamline this process.
- A Mac computer
- The latest version of Xcode
- Clone this repository
- Open the
ab-testing-ios-sample.xcworkspace
file with Xcode - You should be able to see a preview of the app by selecting ProductView in the left sidebar
- Swift Documentation - learn about Swift.
ConfigCat also supports many other frameworks and languages. Check out the full list of supported SDKs here.
You can also explore other code samples for various languages, frameworks, and topics here in the ConfigCat labs on GitHub.
Keep up with ConfigCat on Twitter, Facebook, LinkedIn, and GitHub.
Contributions are welcome!