Skip to content

Commit 5a5d03a

Browse files
authored
edits
1 parent 0e12a7e commit 5a5d03a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/connections/auto-instrumentation/swift-setup.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ hidden: true
55

66
This guide outlines the steps required to set up the Signals SDK in your Apple OS applications using Swift.
77

8-
You'll learn how to connect an existing source, integrate dependencies, turn on Auto-Instrumentation, and verify that your setup captures and processes data as intended.
8+
Learn how to connect an existing source, integrate dependencies, turn on Auto-Instrumentation, and verify that your setup captures and processes data as intended.
99

10-
> info "Public Beta"
10+
> info "Auto-Instrumentation in public beta"
1111
> Auto-Instrumentation is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
1212
1313
## Step 1: Get your source write key
1414

15-
You need the `writeKey` from an existing Segment source:
15+
You need the `writeKey` from an existing Segment source. To find it:
1616

1717
1. In your Segment workspace, go to **Connections > Sources**.
1818
2. Select your source.
@@ -21,7 +21,7 @@ You need the `writeKey` from an existing Segment source:
2121

2222
## Step 2: Add dependencies and initialization code
2323

24-
Next, you'll need to add the Signals SDKs to your Swift applicatiion.
24+
Next, add the Signals SDKs to your Swift applicatiion.
2525

2626
1. Use Swift Package Manager to add the Signals SDK from the following repository:
2727

@@ -55,11 +55,11 @@ Next, you'll need to add the Signals SDKs to your Swift applicatiion.
5555
Analytics.main.add(plugin: Signals.shared)
5656
```
5757

58-
Verify that you replaced `<WRITE_KEY>` with the actual write key you copied in Step 1.
58+
Verify that you replaced `<WRITE_KEY>` with the actual write key you copied in [Step 1](#step-1-get-your-source-write-key).
5959

6060
#### SwiftUI projects
6161

62-
If your app is written in SwiftUI, you'll need to add a `TypeAlias.swift` file to your project that captures interaction and navigation Signals, like in this example:
62+
If your app is written in SwiftUI, you need to add a `TypeAlias.swift` file to your project that captures interaction and navigation Signals, like in this example:
6363

6464
```swift
6565
import Foundation
@@ -93,7 +93,7 @@ After integrating the SDK and running your app, verify that Segment is collectin
9393
4. Use the app as a user would: navigate between screens, tap buttons, trigger network requests. Signals appear in real time as you interact with the app.
9494
5. In the Event Builder, find a signal and click **Configure event** to define a new event. After configuring the event, click **Publish event rules**.
9595

96-
## Configuration Options
96+
## Configuration options
9797

9898
Using the Signals Configuration object, you can control the destination, frequency, and types of signals that Segment automatically tracks within your application. The following table details the configuration options for Signals-Swift.
9999

0 commit comments

Comments
 (0)