tigase / Martin

(M) Martin - XMPP client library for Swift
Other
73 stars 27 forks source link

Value of type 'ConnectionConfiguration' has no member 'setUserPassword' #15

Closed shashwatp closed 3 years ago

shashwatp commented 3 years ago

Trying to compile the example MessageSendingClient ends up with loads of deprecated warnings and compiler errors. What is the best way to get started with Tigase? Are the examples outdated? Or do I need to do something to get this to work? I am using Xcode 13 and Swift 4.

Thanks for the help

hantu85 commented 3 years ago

You are correct. The samples are outdated and they match code from the stable branch while master branch is being under development.

Please set credentials property instead of using setUserPassword function.