rename SocketBinaryView

This commit is contained in:
Erik Little 2018-03-30 14:37:15 -04:00
parent d21a65e117
commit 948ea5fa00
No known key found for this signature in database
GPG Key ID: 62F837E56F4E9320
4 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
1C6572803D7E252A77A86E5F /* SocketManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C65763817782DFAC67BE05C /* SocketManager.swift */; }; 1C6572803D7E252A77A86E5F /* SocketManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C65763817782DFAC67BE05C /* SocketManager.swift */; };
1C6573B22DC9423CDFC32F05 /* SocketBinaryView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C657533E849FC3E4342C602 /* SocketBinaryView.swift */; }; 1C6573B22DC9423CDFC32F05 /* SocketRawView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C657533E849FC3E4342C602 /* SocketRawView.swift */; };
1C657FBB3F670261780FD72E /* SocketManagerSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C6574AF9687A213814753E4 /* SocketManagerSpec.swift */; }; 1C657FBB3F670261780FD72E /* SocketManagerSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C6574AF9687A213814753E4 /* SocketManagerSpec.swift */; };
1C686BE21F869AFD007D8627 /* SocketIOClientConfigurationTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C686BD21F869AF1007D8627 /* SocketIOClientConfigurationTest.swift */; }; 1C686BE21F869AFD007D8627 /* SocketIOClientConfigurationTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C686BD21F869AF1007D8627 /* SocketIOClientConfigurationTest.swift */; };
1C686BE31F869AFD007D8627 /* SocketEngineTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C686BD31F869AF1007D8627 /* SocketEngineTest.swift */; }; 1C686BE31F869AFD007D8627 /* SocketEngineTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C686BD31F869AF1007D8627 /* SocketEngineTest.swift */; };
@ -62,7 +62,7 @@
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
1C6574AF9687A213814753E4 /* SocketManagerSpec.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SocketManagerSpec.swift; sourceTree = "<group>"; }; 1C6574AF9687A213814753E4 /* SocketManagerSpec.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SocketManagerSpec.swift; sourceTree = "<group>"; };
1C657533E849FC3E4342C602 /* SocketBinaryView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SocketBinaryView.swift; sourceTree = "<group>"; }; 1C657533E849FC3E4342C602 /* SocketRawView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SocketRawView.swift; sourceTree = "<group>"; };
1C65763817782DFAC67BE05C /* SocketManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SocketManager.swift; sourceTree = "<group>"; }; 1C65763817782DFAC67BE05C /* SocketManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SocketManager.swift; sourceTree = "<group>"; };
1C686BD21F869AF1007D8627 /* SocketIOClientConfigurationTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SocketIOClientConfigurationTest.swift; sourceTree = "<group>"; }; 1C686BD21F869AF1007D8627 /* SocketIOClientConfigurationTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SocketIOClientConfigurationTest.swift; sourceTree = "<group>"; };
1C686BD31F869AF1007D8627 /* SocketEngineTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SocketEngineTest.swift; sourceTree = "<group>"; }; 1C686BD31F869AF1007D8627 /* SocketEngineTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SocketEngineTest.swift; sourceTree = "<group>"; };
@ -302,7 +302,7 @@
DD52B078DB0A3C3D1BB507CD /* SocketIOClientOption.swift */, DD52B078DB0A3C3D1BB507CD /* SocketIOClientOption.swift */,
DD52B1D9BC4AE46D38D827DE /* SocketIOStatus.swift */, DD52B1D9BC4AE46D38D827DE /* SocketIOStatus.swift */,
DD52B57FFEE8560CFFD793B3 /* SocketIOClientConfiguration.swift */, DD52B57FFEE8560CFFD793B3 /* SocketIOClientConfiguration.swift */,
1C657533E849FC3E4342C602 /* SocketBinaryView.swift */, 1C657533E849FC3E4342C602 /* SocketRawView.swift */,
); );
name = Client; name = Client;
path = Source/SocketIO/Client; path = Source/SocketIO/Client;
@ -483,7 +483,7 @@
DD52B9412F660F828B683422 /* SocketParsable.swift in Sources */, DD52B9412F660F828B683422 /* SocketParsable.swift in Sources */,
1C6572803D7E252A77A86E5F /* SocketManager.swift in Sources */, 1C6572803D7E252A77A86E5F /* SocketManager.swift in Sources */,
1C657FBB3F670261780FD72E /* SocketManagerSpec.swift in Sources */, 1C657FBB3F670261780FD72E /* SocketManagerSpec.swift in Sources */,
1C6573B22DC9423CDFC32F05 /* SocketBinaryView.swift in Sources */, 1C6573B22DC9423CDFC32F05 /* SocketRawView.swift in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };

View File

@ -77,7 +77,7 @@ open class SocketIOClient : NSObject, SocketIOClientSpec {
/// ///
/// **NOTE**: It is not safe to hold on to this view beyond the life of the socket. /// **NOTE**: It is not safe to hold on to this view beyond the life of the socket.
@objc @objc
public private(set) lazy var rawEmitView = SocketBinaryView(socket: self) public private(set) lazy var rawEmitView = SocketRawView(socket: self)
/// The status of this client. /// The status of this client.
@objc @objc

View File

@ -52,7 +52,7 @@ public protocol SocketIOClientSpec : class {
/// ``` /// ```
/// ///
/// **NOTE**: It is not safe to hold on to this view beyond the life of the socket. /// **NOTE**: It is not safe to hold on to this view beyond the life of the socket.
var rawEmitView: SocketBinaryView { get } var rawEmitView: SocketRawView { get }
/// The status of this client. /// The status of this client.
var status: SocketIOStatus { get } var status: SocketIOStatus { get }

View File

@ -11,7 +11,7 @@ import Foundation
/// ```swift /// ```swift
/// socket.rawEmitView.emit("myEvent", myObject) /// socket.rawEmitView.emit("myEvent", myObject)
/// ``` /// ```
public final class SocketBinaryView : NSObject { public final class SocketRawView: NSObject {
private unowned let socket: SocketIOClient private unowned let socket: SocketIOClient
init(socket: SocketIOClient) { init(socket: SocketIOClient) {