We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69e6431 commit eca45b1Copy full SHA for eca45b1
Documentation/QuickStart.md
@@ -100,13 +100,13 @@ public struct Sender: SenderType {
100
}
101
102
// Some global variables for the sake of the example. Using globals is not recommended!
103
-let sender = Sender(id: "any_unique_id", displayName: "Steven")
+let sender = Sender(senderId: "any_unique_id", displayName: "Steven")
104
let messages: [MessageType] = []
105
106
extension ChatViewController: MessagesDataSource {
107
108
func currentSender() -> SenderType {
109
- return Sender(id: "any_unique_id", displayName: "Steven")
+ return Sender(senderId: "any_unique_id", displayName: "Steven")
110
111
112
func numberOfSections(in messagesCollectionView: MessagesCollectionView) -> Int {
0 commit comments