Server-Side A/B Testing & Experimentation for iOS
The Omniconvert Swift SDK enables powerful server-side A/B testing and experimentation for your iOS applications with minimal setup.
// Swift Package Manager
dependencies: [
.package(url: "https://bitbucket.org/mktz/server-side-testing-swift.git", from: "1.0.0")
]
import OmniconvertSDK
// Initialize the client
let client = OmniconvertSDK.createClient(
apiKey: "your_api_key",
userId: "user_123"
)
// Build context
let context = ContextBuilder.create()
.url("https://yourapp.com/home")
.deviceType("mobile")
.build()
// Get experiment decisions
let decisions = await client.decide(context)
Full support for modern iOS versions with async/await
Strongly-typed APIs with Swift's type system
Intelligent caching and optimized networking
Built-in analytics and event tracking
Simple API design, minimal setup required
Complete ecommerce example included
Complete reference documentation for all SDK classes, methods, and properties: