i want to use XMPP Framework and i download lib from github. The given below code gives an error. can someone help me out and i am taking guide from below link: XMPP FRamwork lib
stream?.myJID = XMPPJID.init("[email protected]")
Updated:
The link that you have given in question, is uses class method not the init
to set XMPPJID
.
stream?.myJID = XMPPJID.jid(with:"user@localhost")