I'm working on implementing XMPP framework https://github.com/robbiehanson/XMPPFramework in my app,i understand there will be a lot of code "methods/delegates" from XMPPRoom, XMPPIQ, XMPPStream etc.. i need to know what's the best place to write all these code, is AppDelegate the best candidate for XMPP related code?
A good practice could be to create a XMPP singleton class. So , you can use all the public methods, properties... within other classes only calling the shared instance.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With