iOS (Swift) SDK
Last updated
Last updated
In Xcode, select File > Swift Packages > Add Package Dependency.
Paste the URL and a minimum semantic version of v1.0.1. You can see in the , our latest releases.
Initialize the SDK with your API key upon launching the app, usually in the AppDelegate
, or App
protocol implementor:
Track events with the track
method:
name
is required
properties
are optional
Once customers enter their customer ID (such as email) and/or wallet information (e.g., after logging in), connect that to the analytics by calling the identify
method of the Spindl
singleton: