robbiehanson / XMPPFramework

An XMPP Framework in Objective-C for Mac and iOS
Other
5.91k stars 2.09k forks source link

Use framework in Swift #1224

Closed Patrik007 closed 1 year ago

Patrik007 commented 1 year ago

Hi, i working on my project and i want use XMPPFramework in Swift but after xmppStream.addDelegate(self, ...) and connect fire only func xmppStreamWillConnect(_ sender: XMPPStream) but not func xmppStreamDidConnect(_ sender: XMPPStream) (or any other functions).

But debugging XMPPStream and in multicastDelegate after call xmppStreamWillConnect somehow disapper delegate from array and length IS 0. And of course if not delegate in array then can't call xmppStreamDidConnect..etc.

Thanks for any advice :)