Nx10 Logo
Docs

Nx10 iOS SDK

Native Swift integration for Health, Finance, and standard iOS applications.

What is the iOS SDK?

The Nx10 iOS SDK is a lightweight, drop-in Swift framework designed to bring the power of the Large Feelings Model (LFM) to native iOS applications. It seamlessly instruments your standard UIKit or SwiftUI interfaces to understand how your users interact with your app.

The Observation Engine

Just like our Unity SDK, the iOS SDK handles the complex data collection silently in the background:

  • Native Kinematics: It automatically captures high-resolution touch events (taps, swipes, scrolls), gyroscope, and accelerometer data within your app's bounding box.
  • Context Syncing: The Attributes API allows you to push state changes (e.g., "screen_name": "checkout_funnel") to the cloud so the LFM understands exactly what the user is experiencing.
  • SAAQ Prompts: It handles the rendering and timing logic for Subjective Action-Anchored Questionnaires natively over your views.

Better Together: The Keyboard Extension

The iOS SDK gives you unparalleled Deep Context while the user is inside your application. But what happens when they close your app and open Messages or Safari?

By shipping the Nx10 iOS Keyboard Extension alongside your main app, you unlock Broad Context. The Keyboard Extension tracks your user's baseline across their entire digital day. This combination creates an unbreakable predictive data moat: the LFM learns what they do in your app, and how they feel everywhere else.

Frictionless Integration

The Nx10 iOS SDK is distributed via Swift Package Manager (SPM) and is designed to respect the main thread.

  • Zero-Config Telemetry: No need to manually subclass UIButton or rewrite gesture recognizers. The SDK automatically attaches to the main UIWindow event loop to collect kinematic data silently.
  • Battery & Network Safe: Telemetry is locally buffered, compressed into highly optimized binary tuples, and synced to the LFM using background URL sessions to ensure zero impact on battery life.

Privacy & Data Minimization

Nx10 operates under strict Data Protection Agreements (DPA) and independent Ethics board approvals. We collect only kinematic data. The SDK does not capture text field contents, passwords, or perform any form of screen recording or visual capture.