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: docusaurus/docs/iOS/swiftui/swiftui-overview.md
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,17 +35,15 @@ To get started integrating Stream Chat in your iOS app, install the `StreamChatS
35
35
36
36
### Install with Swift Package Manager
37
37
38
-
Open your `.xcodeproj`, select the option "Add Package Dependency" in File > Swift Packages, and paste the URL: "https://github.com/getstream/stream-chat-swift".
38
+
Open your `.xcodeproj`, select the option "Add Package Dependency" in File > Add Packages, and paste the URL: https://github.com/GetStream/stream-chat-swiftui.git.
39
39
40
-

40
+
Xcode will look for the repository and automatically select the latest version tagged. Press next and Xcode will download the dependency. While the SDK is in beta mode, it's best to stay on the main branch as a dependency.
41
41
42
-
After pressing next, Xcode will look for the repository and automatically select the latest version tagged. Press next and Xcode will download the dependency.
42
+

43
43
44
-

44
+
The repository contains 1 target - StreamChatSwiftUI.
45
45
46
-
The repository contains 3 targets: StreamChat, StreamChatUI and StreamChatSwiftUI. If you'll use the UI components, select one of StreamChatUI or StreamChatSwiftUI. They both provide the same functionalities, the only difference is the underlying iOS technology (SwiftUI vs. UIKit). If you don't need the UI components, select just StreamChat.
47
-
48
-

46
+

49
47
50
48
After you press finish, it's done!
51
49
@@ -55,19 +53,19 @@ Because StreamChat SDKs have to be distributed with its resources, the minimal S
55
53
56
54
### Install with CocoaPods
57
55
58
-
In your project's Podfile, add: `pod 'StreamChatSwiftUI', '~> 0.0.1'`. It should look similar to the snippet below.
56
+
In your project's Podfile, add: `pod 'StreamChatSwiftUI', '~> 4.5.3'`. It should look similar to the snippet below.
59
57
60
58
```ruby
61
59
target 'MyProject'do
62
60
# Comment the next line if you don't want to use dynamic frameworks
63
61
use_frameworks!
64
62
65
63
# Pods for MyProject
66
-
pod 'StreamChatSwiftUI', '~> 0.0.1'
64
+
pod 'StreamChatSwiftUI', '~> 4.5.3'
67
65
end
68
66
```
69
67
70
-
The StreamChatUI pod will automatically include the StreamChat dependency. If you want just the StreamChat dependency, without the UI components, add `pod 'StreamChat', '~> 4.0'` to your Podfile instead. It should look similar to the snippet below.
68
+
The StreamChatSwiftUI pod will automatically include the StreamChat dependency. If you want just the StreamChat dependency, without the SwiftUI components, add `pod 'StreamChat', '~> 4.0'` to your Podfile instead. It should look similar to the snippet below.
71
69
72
70
```ruby
73
71
target 'MyProject'do
@@ -87,4 +85,4 @@ pod install --repo-update
87
85
88
86
The above command will generate the **MyProject.xcworkspace** file automatically.
89
87
90
-
To stay up-to-date with our updates and get a detailed breakdown of what's new, subscribe to the releases of [getstream/stream-chat-swift](https://github.com/GetStream/stream-chat-swift/releases) by clicking the "watch" button. You can further tweak your watch preferences and subscribe only to the release events.
88
+
To stay up-to-date with our updates and get a detailed breakdown of what's new, subscribe to the releases of [getstream/stream-chat-swift](https://github.com/GetStream/stream-chat-swiftui/releases) by clicking the "watch" button. You can further tweak your watch preferences and subscribe only to the release events.
0 commit comments