Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTN17b #385

Merged
merged 12 commits into from
May 4, 2016
16 changes: 12 additions & 4 deletions Ably.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
D70EAAED1BC3376200CD8B9E /* ARTRestChannel.h in Headers */ = {isa = PBXBuildFile; fileRef = D70EAAEB1BC3376200CD8B9E /* ARTRestChannel.h */; settings = {ATTRIBUTES = (Public, ); }; };
D70EAAEE1BC3376200CD8B9E /* ARTRestChannel.m in Sources */ = {isa = PBXBuildFile; fileRef = D70EAAEC1BC3376200CD8B9E /* ARTRestChannel.m */; };
D714A63E1C74D4B2002F2CA0 /* NSObject+TestSuite.swift in Sources */ = {isa = PBXBuildFile; fileRef = D714A63D1C74D4B2002F2CA0 /* NSObject+TestSuite.swift */; };
D714A6401C75F0C5002F2CA0 /* ARTWebSocketTransport+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D714A63F1C75F0C5002F2CA0 /* ARTWebSocketTransport+Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
D714A6401C75F0C5002F2CA0 /* ARTWebSocketTransport+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D714A63F1C75F0C5002F2CA0 /* ARTWebSocketTransport+Private.h */; settings = {ATTRIBUTES = (Public, ); }; };
D71D30041C5F7B2F002115B0 /* RealtimeClientChannels.swift in Sources */ = {isa = PBXBuildFile; fileRef = D71D30031C5F7B2F002115B0 /* RealtimeClientChannels.swift */; };
D72304701BB72CED00F1ABDA /* RealtimeClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = D723046F1BB72CED00F1ABDA /* RealtimeClient.swift */; };
D72768211C9C19040022F8B2 /* RestClientPresence.swift in Sources */ = {isa = PBXBuildFile; fileRef = D72768201C9C19040022F8B2 /* RestClientPresence.swift */; };
Expand Down Expand Up @@ -157,6 +157,9 @@
EB1AE0CC1C5C1EB200D62250 /* ARTEventEmitter+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = EB1AE0CB1C5C1EB200D62250 /* ARTEventEmitter+Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
EB1AE0CE1C5C3A4900D62250 /* Utilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB1AE0CD1C5C3A4900D62250 /* Utilities.swift */; };
EB20F8D71C653F2300EF3978 /* ARTPresence+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = EB20F8D61C653F1E00EF3978 /* ARTPresence+Private.h */; settings = {ATTRIBUTES = (Public, ); }; };
EB2D5A911CC941A700AD1A67 /* ARTRealtimeTransport.m in Sources */ = {isa = PBXBuildFile; fileRef = EB2D5A901CC941A700AD1A67 /* ARTRealtimeTransport.m */; };
EB2D5A921CC941A700AD1A67 /* ARTRealtimeTransport.m in Sources */ = {isa = PBXBuildFile; fileRef = EB2D5A901CC941A700AD1A67 /* ARTRealtimeTransport.m */; };
EB2D5A931CC941A700AD1A67 /* ARTRealtimeTransport.m in Sources */ = {isa = PBXBuildFile; fileRef = EB2D5A901CC941A700AD1A67 /* ARTRealtimeTransport.m */; };
EB503C881C7E4A090053AF00 /* ARTClientOptions+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = EB503C871C7E4A090053AF00 /* ARTClientOptions+Private.h */; settings = {ATTRIBUTES = (Public, ); }; };
EB503C8A1C7F1FE40053AF00 /* ARTLog+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = EB503C891C7F1FE40053AF00 /* ARTLog+Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
EB5E058D1C77027600A48B39 /* ARTCrypto+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = EB5E058C1C77027600A48B39 /* ARTCrypto+Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
Expand Down Expand Up @@ -379,6 +382,7 @@
EB1AE0CB1C5C1EB200D62250 /* ARTEventEmitter+Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ARTEventEmitter+Private.h"; sourceTree = "<group>"; };
EB1AE0CD1C5C3A4900D62250 /* Utilities.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Utilities.swift; sourceTree = "<group>"; };
EB20F8D61C653F1E00EF3978 /* ARTPresence+Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ARTPresence+Private.h"; sourceTree = "<group>"; };
EB2D5A901CC941A700AD1A67 /* ARTRealtimeTransport.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ARTRealtimeTransport.m; sourceTree = "<group>"; };
EB3239421C59AB0400892664 /* ARTDataEncoder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ARTDataEncoder.m; sourceTree = "<group>"; };
EB3239461C59AB2C00892664 /* ARTDataEncoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ARTDataEncoder.h; sourceTree = "<group>"; };
EB503C871C7E4A090053AF00 /* ARTClientOptions+Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ARTClientOptions+Private.h"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -629,6 +633,7 @@
isa = PBXGroup;
children = (
96E4083D1A3892C700087F77 /* ARTRealtimeTransport.h */,
EB2D5A901CC941A700AD1A67 /* ARTRealtimeTransport.m */,
96E408451A3895E800087F77 /* ARTWebSocketTransport.h */,
D714A63F1C75F0C5002F2CA0 /* ARTWebSocketTransport+Private.h */,
96E408461A3895E800087F77 /* ARTWebSocketTransport.m */,
Expand Down Expand Up @@ -897,7 +902,7 @@
isa = PBXProject;
attributes = {
CLASSPREFIX = ART;
LastSwiftUpdateCheck = 0700;
LastSwiftUpdateCheck = 0730;
LastUpgradeCheck = 0700;
ORGANIZATIONNAME = Ably;
TargetAttributes = {
Expand All @@ -912,7 +917,7 @@
};
};
};
buildConfigurationList = 96BF612B1A35B2AB004CF2B3 /* Build configuration list for PBXProject "ably" */;
buildConfigurationList = 96BF612B1A35B2AB004CF2B3 /* Build configuration list for PBXProject "Ably" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
Expand Down Expand Up @@ -1093,6 +1098,7 @@
D714A63E1C74D4B2002F2CA0 /* NSObject+TestSuite.swift in Sources */,
856AAC971B6E30C800B07119 /* TestUtilities.swift in Sources */,
D72768211C9C19040022F8B2 /* RestClientPresence.swift in Sources */,
EB2D5A931CC941A700AD1A67 /* ARTRealtimeTransport.m in Sources */,
D780846E1C68B3E50083009D /* NSObject+TestSuite.m in Sources */,
D7CEF1321C8DD3BC004FB242 /* RealtimeClientPresence.swift in Sources */,
853ED7C41B7A1A3C006F1C6F /* RestClientStats.swift in Sources */,
Expand All @@ -1113,6 +1119,7 @@
buildActionMask = 2147483647;
files = (
EB82F8521C59D30500661917 /* ARTDataEncoder.m in Sources */,
EB2D5A911CC941A700AD1A67 /* ARTRealtimeTransport.m in Sources */,
D746AE391BBC3201003ECEF8 /* ARTMessage.m in Sources */,
EB89D40B1C61C6EA007FA5B7 /* ARTRealtimeChannels.m in Sources */,
D746AE231BBB60EE003ECEF8 /* ARTChannel.m in Sources */,
Expand Down Expand Up @@ -1174,6 +1181,7 @@
96BF615B1A35B9ED004CF2B3 /* ARTHttpTest.m in Sources */,
1CC3D95B1AB702E30005BEB0 /* ARTRealtimePresenceHistoryTest.m in Sources */,
1CC3D94D1AB6FE700005BEB0 /* ARTRealtimeConnectTest.m in Sources */,
EB2D5A921CC941A700AD1A67 /* ARTRealtimeTransport.m in Sources */,
1CC3D9551AB700680005BEB0 /* ARTRealtimeInitTest.m in Sources */,
1C1E52FA1AB35665004A690F /* ARTRestInitTest.m in Sources */,
1C1E52F41AB32EDE004A690F /* ARTRestCryptoTest.m in Sources */,
Expand Down Expand Up @@ -1402,7 +1410,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
96BF612B1A35B2AB004CF2B3 /* Build configuration list for PBXProject "ably" */ = {
96BF612B1A35B2AB004CF2B3 /* Build configuration list for PBXProject "Ably" */ = {
isa = XCConfigurationList;
buildConfigurations = (
96BF61451A35B2AB004CF2B3 /* Debug */,
Expand Down
2 changes: 0 additions & 2 deletions AblyRealtime.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,4 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.source_files = 'Source/*.{h,m}'
s.module_map = 'Source/AblyRealtime.modulemap'
s.pod_target_xcconfig = { 'HEADER_SEARCH_PATHS' => '$CONFIGURATION_BUILD_DIR/SwiftWebSocket.framework/Headers' }
s.dependency 'SwiftWebSocket', '~> 2.6'
end
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "tidwall/SwiftWebSocket" ~> 2.6
github "square/SocketRocket" == 0.5.0
2 changes: 2 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ platform :ios, '8.0'
use_frameworks!
podspec :path => 'AblyRealtime.podspec'

pod 'SocketRocket', '0.5.0'

target 'AblySpec' do
pod 'Quick', '0.9.1'
pod 'Nimble', '4.0.0'
Expand Down
6 changes: 3 additions & 3 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ PODS:
- Aspects (1.4.1)
- Nimble (4.0.0)
- Quick (0.9.1)
- SwiftWebSocket (2.6.0)
- SocketRocket (0.5.0)
- SwiftyJSON (2.3.1)

DEPENDENCIES:
- Aspects
- Nimble (= 4.0.0)
- Quick (= 0.9.1)
- SwiftWebSocket (~> 2.6)
- SocketRocket (= 0.5.0)
- SwiftyJSON (= 2.3.1)

SPEC CHECKSUMS:
Aspects: 7595ba96a6727a58ebcbfc954497fc5d2fdde546
Nimble: 72bcc3e2f02242e6bfaaf8d9412ca7bfe3d8b417
Quick: a5221fc21788b6aeda934805e68b061839bc3165
SwiftWebSocket: c24c0dde0b33852f478ffb54226408bfe703b26b
SocketRocket: 2c51efccd2d73c99a923407ca4b06e7e9da95dbf
SwiftyJSON: 592b53bee5ef3dd9b3bebc6b9cb7ee35426ae8c3

COCOAPODS: 0.39.0
2 changes: 1 addition & 1 deletion Source/ARTRealtime+Private.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ART_ASSUME_NONNULL_BEGIN
@interface ARTRealtime () <ARTRealtimeTransportDelegate>

@property (readonly, strong, nonatomic) __GENERIC(ARTEventEmitter, NSNumber *, ARTConnectionStateChange *) *eventEmitter;
@property (readonly, strong, nonatomic) __GENERIC(ARTEventEmitter, NSNull *, NSNull *) *reconnectedEventEmitter;
@property (readonly, strong, nonatomic) __GENERIC(ARTEventEmitter, NSNull *, NSNull *) *connectedEventEmitter;

+ (NSString *)protocolStr:(ARTProtocolMessageAction)action;

Expand Down
Loading