http://www.pubnub.com/blog/realtime-ios-apps-getting-started-with-swift-and-pubnub/
I followed the above steps and added pods in my project. Initially, it has thrown some error, which I solved using
Now, when I run pod install, there are no errors and warnings.
The problem now being, when I tried to add PNObjectEventListener in AppDelegate.swift it says 'Use of undeclared type'.
Any help is appreciated. Thanks
I added the below import in the AppDelegate.Swift. Although , it is not necessary to add import, when it is already done in bridging header, after adding this line only, it worked for me!
import PubNub
Also, add exclamation marks if error pops up :
var client : PubNub
var config : PNConfiguration