Argument labels do not match any available overloads
问题 I am working on a messaging app using JSQMessagesViewController, and I want to associate another variable, an Integer score , with each message (along with the defaults such as senderID , text , and displayName ). This is how I attempt to implement this: func addMessage(id: String, text: String, displayName: String, score: Int) { // Make sure the character count is between 10 and 140, then add message to message list to display if (text.characters.count <= 10 || text.characters.count >= 140)