Skip to content

Commit c859618

Browse files
2 parents 0a4ec8f + c46bfab commit c859618

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docusaurus/docs/iOS/swiftui/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,17 @@ let utils = Utils(channelNamer: channelNamer)
8989
let streamChat = StreamChat(chatClient: chatClient, appearance: appearance, utils: utils)
9090
```
9191

92-
### Accessing chat context functionalities
92+
### Accessing chat context functionalities through injectable variables
9393

94-
If you build your own view components and you want to use the chat context providing options, you can do so in a way that's very similar to SwiftUI's environment. You just need to define the corresponding keypath of the functionality you need, anywhere in your code.
94+
If you build your own view components and you want to use the chat context providing options, you can do so in a way that's very similar to SwiftUI's environment. You just need to define the corresponding keypath of the functionality you need, anywhere in your code.
9595

9696
```swift
9797
@Injected(\.chatClient) var chatClient
9898
@Injected(\.fonts) var fonts
9999
@Injected(\.colors) var colors
100100
@Injected(\.images) var images
101101
@Injected(\.utils) var utils
102-
```
102+
```
103103

104104
### Putting it all together
105105

0 commit comments

Comments
 (0)