ios 8 updateChat 上的多点连接错误

ios 8 multipeer connectivity error on updateChat

http://radar.oreilly.com/2014/09/multipeer-connectivity-on-ios-8-with-swift.html

我一直在按照本教程创建群聊,但我 运行 遇到了这个错误。 无法使用类型为“(NSData, fromPeer: MCPeerID!)”的参数列表调用 'updateChat'

有谁知道如何纠正这个问题?

我想通了:

self.updateChat(msg as String, fromPeer: peerID!)