Could not find add listener to PubNub in swift
I am using Xcode 6.4 and am trying to integrate pubnub group chat functionality in my application. I followed this tutorial
http://www.pubnub.com/blog/realtime-ios-apps-getting-started-with-swift-and-pubnub/
I was able to do everything smoothly. But there was an error in the code. While writing this piece of code as pointed out in the pubnub tutorial I got this compilation error.
Is this method not available or am I doing something wrong?
I used the latest Pubnub sdk as posted on the blog using cocoapods. What do I need to do to fix this. Any help would be appreciated. Thanks to
+3
source to share