Skip to content

Commit 5b4baa5

Browse files
alanjcharlesmarkzegarellididiergarcia
authored
feat: add new migration guides [netlify-build] (#4783)
* feat: add new migration guides [netlify-build] * fix: fix plugin arch link * [netlify-build] * Apply suggestions from code review * Edits and comments from Rahul * add Didier's changes * fix: fix kotlin code examples in migration * Remove copy/paste extra section. * Update kotlin migration guide. --------- Co-authored-by: Alan Charles <[email protected]> Co-authored-by: markzegarelli <[email protected]> Co-authored-by: Didier Garcia <[email protected]>
1 parent b4979de commit 5b4baa5

File tree

4 files changed

+426
-793
lines changed

4 files changed

+426
-793
lines changed

src/_data/sidenav/strat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ sections:
210210
- path: /connections/sources/catalog/libraries/mobile/apple/migration
211211
title: Migration Guide
212212
- path: /connections/sources/catalog/libraries/mobile/apple/destination-plugins
213-
title: Destination Plugins
213+
title: Device Mode Destinations
214214
- path: /connections/sources/catalog/libraries/mobile/apple/cloud-mode-destinations
215215
title: Cloud-mode Destinations
216216
- path: /connections/sources/catalog/libraries/mobile/apple/swift-typewriter

src/connections/sources/catalog/libraries/mobile/apple/index.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'Analytics for Swift'
2+
title: 'Analytics-Swift for iOS & Apple'
33
strat: swift
44
redirect_from:
55
- '/connections/sources/catalog/cloud-apps/swift/'
@@ -10,25 +10,25 @@ tags:
1010
- swift
1111
- ios
1212
---
13-
With Analytics Swift, you can send data from iOS, tvOS, iPadOS, WatchOS, macOS and Linux applications to any analytics or marketing tool without having to learn, test, or implement a new API every time. Analytics Swift is compatible with both Swift and Objective-C applications.
13+
With Analytics-Swift, you can send data from iOS, tvOS, iPadOS, WatchOS, macOS and Linux applications to any analytics or marketing tool without having to learn, test, or implement a new API every time. Analytics-Swift is compatible with both Swift and Objective-C applications.
1414

1515
> warning ""
16-
> If you're migrating to **Analytics Swift** from Analytics iOS (Classic), you can skip to the [migration guide](/docs/connections/sources/catalog/libraries/mobile/swift/migration/).
16+
> If you're migrating to **Analytics-Swift** from Analytics iOS (Classic), you can skip to the [migration guide](/docs/connections/sources/catalog/libraries/mobile/apple/migration/).
1717
18-
## Benefits of Analytics Swift
18+
## Benefits of Analytics-Swift
1919

20-
Analytics Swift provides several key benefits including improvements in stability, performance, and developer experience when compared to Analytics iOS (Classic).
20+
Analytics-Swift provides several key benefits including improvements in stability, performance, and developer experience when compared to Analytics iOS (Classic).
2121
### Performance
2222

23-
Analytics Swift is a huge leap forward in terms of performance when compared to Analytics iOS. For a more detailed overview, you can reference the [blog post](https://segment.com/blog/sdk-performance-improvements/).
23+
Analytics-Swift offers improved performance when compared to Analytics iOS. For a more detailed overview, you can reference the [blog post](https://segment.com/blog/sdk-performance-improvements/).
2424

2525
- Faster event processing and deliver
2626
- Significantly lower CPU usage
2727
- Small memory & disk usage footprint
2828

2929
### Developer Experience
3030

31-
Analytics Swift adds several improvements to the overall experience of using the core SDK, as well as improvements to the overall [Plugin Architecture](/docs/connections/sources/catalog/libraries/mobile/swift/swift-plugin-architecture).
31+
Analytics-Swift adds several improvements to the overall experience of using the core SDK, as well as improvements to the overall [Plugin Architecture](/docs/connections/sources/catalog/libraries/mobile/swift/swift-plugin-architecture).
3232

3333
- Ability to use Type Safe data structures rather than just dictionaries.
3434
- Simpler syntax and more developer friendly overall.
@@ -40,7 +40,7 @@ For the first time ever, developers can filter and transform their users’ even
4040
Learn more about [Destination Filters](https://github.com/segmentio/DestinationFilters-swift) on Mobile, and [Edge Functions](https://github.com/segmentio/EdgeFn-Swift) on Mobile.
4141

4242
## Getting started
43-
To get started with the Analytics Swift mobile library:
43+
To get started with the Analytics-Swift mobile library:
4444

4545
1. Create a Source in Segment.
4646
1. Go to **Connections > Sources > Add Source**.
@@ -53,9 +53,9 @@ To get started with the Analytics Swift mobile library:
5353
1. Xcode 12: **File > Swift Packages > Add Package Dependency**
5454
2. Xcode 13: **File > Add Packages…**
5555

56-
After installing the package, you can reference Analytics Swift by importing Segment's Analytics package with `import Segment`.
56+
After installing the package, you can reference Analytics-Swift by importing Segment's Analytics package with `import Segment`.
5757

58-
3. Initialize and configure the Analytics Swift client.
58+
3. Initialize and configure the Analytics-Swift client.
5959
For example, in a lifecycle method such as `didFinishLaunchingWithOptions` in iOS:
6060

6161
{% codeexample %}
@@ -152,4 +152,5 @@ Analytics for Swift is built with extensibility in mind. Use the tools list belo
152152
- [Code samples](/docs/connections/sources/catalog/libraries/mobile/swift/swift-samples)
153153
154154
> warning ""
155-
> If you are using the Analytics iOS (Classic) SDK, you can find [the documentation here](/docs/connections/sources/catalog/libraries/mobile/ios). Many of the features available in the Analytics Swift SDK are not available in the Analytics iOS (Classic) SDK.
155+
> If you are using the Analytics iOS (Classic) SDK, you can find [the documentation here](/docs/connections/sources/catalog/libraries/mobile/ios). Many of the features available in the Analytics-Swift SDK are not available in the Analytics iOS (Classic) SDK.
156+

0 commit comments

Comments
 (0)