Skip to content

Commit 7388620

Browse files
committed
Add code fence language
1 parent c2ba343 commit 7388620

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/connections/sources/catalog/libraries/mobile/apple/destination-plugins/1flow-swift.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You'll then have the option to pin to a version, or specific branch, as well as
3030

3131
Open your Package.swift file and add the following to the `dependencies` section:
3232

33-
```
33+
```swift
3434
.package(
3535
name: "Segment",
3636
url: "https://github.com/1Flow-Inc/segment-1flow-ios.git",
@@ -42,14 +42,14 @@ Open your Package.swift file and add the following to the `dependencies` section
4242

4343
Open the file where you set up and configure the Analytics-Swift library. Add this plugin to the list of imports.
4444

45-
```
45+
```swift
4646
import Segment
4747
import SegmentOneFlow // <-- Add this line
4848
```
4949

5050
Just under your Analytics-Swift library setup, call `analytics.add(plugin: ...)` to add an instance of the plugin to the Analytics timeline.
5151

52-
```
52+
```swift
5353
let analytics = Analytics(configuration: Configuration(writeKey: "<YOUR WRITE KEY>")
5454
.flushAt(3)
5555
.trackApplicationLifecycleEvents(true))

src/connections/sources/catalog/libraries/mobile/apple/destination-plugins/adjust-swift.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You'll then have the option to pin to a version, or specific branch, as well as
3030

3131
Open your Package.swift file and add the following do your the `dependencies` section:
3232

33-
```
33+
```swift
3434
.package(
3535
name: "Segment",
3636
url: "https://github.com/segment-integrations/analytics-swift-integration-adjust.git",
@@ -41,14 +41,14 @@ Open your Package.swift file and add the following do your the `dependencies` se
4141

4242
Open the file where you setup and configure the Analytics-Swift library. Add this plugin to the list of imports.
4343

44-
```
44+
```swift
4545
import Segment
4646
import SegmentAdjust // <-- Add this line
4747
```
4848

4949
Just under your Analytics-Swift library setup, call `analytics.add(plugin: ...)` to add an instance of the plugin to the Analytics timeline.
5050

51-
```
51+
```swift
5252
let analytics = Analytics(configuration: Configuration(writeKey: "<YOUR WRITE KEY>")
5353
.flushAt(3)
5454
.trackApplicationLifecycleEvents(true))
@@ -133,4 +133,4 @@ The destination automatically forwards push notification tokens through to Adjus
133133

134134
### Event buffering
135135

136-
By default, our destination enables event buffering for Adjust. This saves your customers' battery life. However, you can disable this in the options on the Adjust destination settings on Segment.
136+
By default, our destination enables event buffering for Adjust. This saves your customers' battery life. However, you can disable this in the options on the Adjust destination settings on Segment.

0 commit comments

Comments
 (0)