flightonary / Moscapsule

MQTT Client for iOS written in Swift
MIT License
273 stars 69 forks source link

README.md is out of date #83

Open travisgriggs opened 5 years ago

travisgriggs commented 5 years ago

The README.md quick start example shows the following line of code:

mqttClient.publishString("message", topic: "publish/topic", qos: 2, retain: false)

The API appears to have changed to:

mqttClient.publish(string: "message", topic: "publish/topic", qos: 2, retain: false)

Maybe there are other obsolete examples as well?