From 8d16a8312dbebb3d1530fd813ba335b086a4dc06 Mon Sep 17 00:00:00 2001 From: Erik Date: Sun, 7 May 2017 12:39:54 -0400 Subject: [PATCH] fix method name in docs --- Source/SocketIOClient.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/SocketIOClient.swift b/Source/SocketIOClient.swift index 258c37b..a9c5123 100644 --- a/Source/SocketIOClient.swift +++ b/Source/SocketIOClient.swift @@ -426,7 +426,7 @@ open class SocketIOClient : NSObject, SocketIOClientSpec, SocketEngineClient, So /// Removes handler(s) based on an event name. /// - /// If you wish to remove a specific event, call the `off(if:)` with the UUID received from its `on` call. + /// If you wish to remove a specific event, call the `off(id:)` with the UUID received from its `on` call. /// /// - parameter event: The event to remove handlers for. open func off(_ event: String) {