Hi PubNub Team
I am trying to integrate group chat functionality in my app using PubNub in Swift. In order to do so, I followed your blog http://www.pubnub.com/blog/realtime-ios-apps-getting-started-with-swift-and-pubnub/
I did everything smoothly but there was an error in this line client?.addListener(self)
It stated that "No member name available"
I have also created a question on stackoverflow http://stackoverflow.com/questions/31753904/could-not-find-add-listener-in-pubnub-in-swift
Please help me on that. I ll love to use PubNub in my app and also want to clarify some more queries as I progress.
Hoping to hear soon
Thanks Rajan Maheshwari
You should make sure to add PNObjectEventListener as a conforming protocol to your class declaration.
class AppDelegate: UIResponder, UIApplicationDelegate, PNObjectEventListener