Skip to content

Commit eca45b1

Browse files
authoredFeb 8, 2021
Update QuickStart.md
1 parent 69e6431 commit eca45b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Documentation/QuickStart.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ public struct Sender: SenderType {
100100
}
101101

102102
// Some global variables for the sake of the example. Using globals is not recommended!
103-
let sender = Sender(id: "any_unique_id", displayName: "Steven")
103+
let sender = Sender(senderId: "any_unique_id", displayName: "Steven")
104104
let messages: [MessageType] = []
105105

106106
extension ChatViewController: MessagesDataSource {
107107

108108
func currentSender() -> SenderType {
109-
return Sender(id: "any_unique_id", displayName: "Steven")
109+
return Sender(senderId: "any_unique_id", displayName: "Steven")
110110
}
111111

112112
func numberOfSections(in messagesCollectionView: MessagesCollectionView) -> Int {

0 commit comments

Comments
 (0)
Please sign in to comment.