You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/auto-instrumentation/setup.md
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,19 @@ Follow these steps to integrate the Signals SDK into your Swift application:
62
62
63
63
Verify that you replaced `<WRITE_KEY>` with the actual write key you copied in Step 1.
64
64
65
+
> info "SwiftUI Projects"
66
+
> If your app is written in SwiftUI, you will need to add a `TypeAlias.swift` file to your project in order to capture interaction and navigation Signals. Refer to the example below for more information
67
+
68
+
```swift
69
+
import Foundation
70
+
import Signals
71
+
72
+
typealias Button = SignalButton
73
+
typealias NavigationStack = SignalNavigationStack
74
+
typealias NavigationLink = SignalNavigationLink
75
+
typealias TextField = SignalTextField
76
+
typealias SecureField = SignalSecureField
77
+
```
65
78
### Kotlin
66
79
67
80
Follow these steps to integrate the Signals SDK into your Kotlin application:
0 commit comments