From 98b542c23031231242ea7eeaa03be3f760802569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0r=C5=AFtek?= <35694712+michalsrutek@users.noreply.github.com> Date: Fri, 13 Mar 2020 13:36:00 +0100 Subject: [PATCH] Remove NS prefix from ProcessInfo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 211ce9c6..a1309d9c 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ If you're building for iOS, tvOS: Create a client to connect MQTT Broker: ```swift -let clientID = "CocoaMQTT-" + String(NSProcessInfo().processIdentifier) +let clientID = "CocoaMQTT-" + String(ProcessInfo().processIdentifier) let mqtt = CocoaMQTT(clientID: clientID, host: "localhost", port: 1883) mqtt.username = "test" mqtt.password = "public"