aciidgh / SwiftMQTT

MQTT Client in pure swift ❤️
MIT License
270 stars 71 forks source link

How to make MQTTSession object as static var? #19

Closed pavithramh closed 7 years ago

pavithramh commented 7 years ago

I have taken MQTTSettings in another class, How to make MQTTSession object as static var and access the same through out the communications like publishing from another class function.