3
votes

I would like to add the chatting feature in my app by connect to my openfire server. I have gotten the openfire account and password for each user. I am looking for a direction, including frameworks or libs, to implement this.

First, I found XMPP Framework for ios, which is a well-done framework for XMPP, but built in ObjectiveC and probably hasn't supported swift 3. So I'm not sure whether there is any other better choice. This is the main problem for me.

Second, if I find a way to connect with openfire server (in step one), I could send and receive message via openfire server. I can use some chat frameworks, such as Chatto, to implement a chat feature by inputing data resource.

Would you give me suggestion about chatting feature in swift 3? Thanks

1
I have transferred the XMPPFramework to swift 3.0. The second problem is still under surveyuser2174595
I am searching the same Do you find any solution for it ?Bhushan Vaidya
Do you get any solution for thatNarendra Pandey
Any Solution found ??Chanchal Warde

1 Answers

1
votes

You can use bridging feature for XMPP Framework to use Objective C classes in Swift.

for using bridging you can follow bridging in project

And you can also follow swift chat project https://github.com/processone/xmpp-messenger-ios