I want to connection with MQTT server using swift. I have added SwiftMQTT library in my project. I have implemented below code.
import UIKit import SwiftMQTT