inaka / ios-xmpp-sample

Blog post sample project.
https://www.erlang-solutions.com/blog/build-a-complete-ios-messaging-app-using-xmppframework-tutorial-part-1.html
33 stars 15 forks source link

xmppStreamDidConnect not get called #5

Open ghost opened 6 years ago

ghost commented 6 years ago

Hey, gone thrw whole project screen shot 2018-10-12 at 11 42 43 am , my problem is, I'm creating the framework in swift using Robbinson XMPP framework, I managed to set up the project, the delegate method bellow is getting called:

func xmppStreamWillConnect(_ sender: XMPPStream!) {
        print("will");
    }

but the delegate method below never gets called:

 func xmppStreamDidConnect(_ sender: XMPPStream!) {
        print("connect");
    }

i tried to put breakpoint in objc code, its hitting the // Notify delegates method (please ref screen shot ) but in my code its not get called ..Thanks