iOS SDK
Best Practices and debugging
Initialize at app startup, not on demand The SDK should be ready before your first screen renders. Initialize in AppDelegate → application(_:didFinishLaunchingWithOptions:), SceneDelegate → scene(_:willConnectTo:), or your SwiftUI App initializer. ...
SDK Customisation
All SDK configuration goes through PageSenseSDKOptions. Set your options before passing the object into createNewPageSenseClient(). Initialization with custom options swift import PageSenseFramework let sdkOptions = PageSenseSDKOptions() ...
Project Settings Sync
How the iOS SDK stays up to date The iOS SDK manages project settings synchronisation automatically. You don't call an API to trigger it — the SDK runs a background polling loop that checks for updates, compares them against the locally cached ...
Running Experiments — Activate, Get Variation, Track Goal
Activate Experiment Call activateExperiment to assign a user to an experiment and record the assignment. The SDK checks targeting conditions, runs the user through bucketing logic, and returns the variation name via a completion handler. Method swift ...
Initializing the PageSense iOS SDK
Before you start PageSenseClient is the core interface for everything — activating experiments, retrieving variations, tracking goals. None of that works until the SDK is initialized. Initialization fetches your project configuration from the ...
Installing the PageSense iOS SDK
Before you start The SDK has no third-party dependencies — just standard iOS frameworks. Before integrating, make sure you have: Xcode installed and configured A Swift or Objective-C project set up Internet connectivity for fetching experiment ...
PageSense iOS SDK — Overview
What is FullStack A/B Testing? Traditional A/B testing is visual — change a button color, move a headline, test a layout. FullStack A/B testing works at the code level. You experiment with the logic that drives your app: how features behave, how APIs ...