-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rearrange types relationships to avoid ambiguities.
Previously, we had some situations in which, for convenience, we were inheriting rather than composing (RealtimeChannel inheriting from RestChannel). This was causing problems in places where some parent class implemented `method:(A)a` while a child class was implementing `method:(B)b`. Swift 2.2 doesn't let you do this, so it's necessary for that, but it's also a good idea for Swift <2.2 if only for code organization and soundness. Also added some changes in the test Swift code for forwards compatibility.
- Loading branch information
Showing
26 changed files
with
267 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// ARTRealtimePresence+Private.h | ||
// ably | ||
// | ||
// Created by Toni Cárdenas on 7/4/16. | ||
// Copyright © 2016 Ably. All rights reserved. | ||
// | ||
|
||
#ifndef ARTRealtimePresence_Private_h | ||
#define ARTRealtimePresence_Private_h | ||
|
||
#import "ARTRealtimePresence.h" | ||
|
||
@interface ARTRealtimePresence () | ||
|
||
- (instancetype)initWithChannel:(ARTRealtimeChannel *)channel; | ||
|
||
@end | ||
|
||
#endif /* ARTRealtimePresence_Private_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.