Skip to content

Commit

Permalink
wip add channels property to ARTRealtimeProtocol
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrence-forooghian committed Aug 29, 2024
1 parent 8661e4c commit bb56bc6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/PrivateHeaders/Ably/ARTRealtime+Private.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
#import <Ably/ARTRealtimeTransport.h>
#import <Ably/ARTAuth+Private.h>
#import <Ably/ARTRest+Private.h>
#import <Ably/ARTRealtimeChannels+Private.h>

@class ARTRestInternal;
@class ARTErrorInfo;
@class ARTProtocolMessage;
@class ARTConnectionInternal;
@class ARTRealtimeChannelsInternal;

NS_ASSUME_NONNULL_BEGIN

Expand Down
7 changes: 6 additions & 1 deletion Source/include/Ably/ARTRealtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#import <Ably/ARTRealtimeChannels.h>
#import <Ably/ARTEventEmitter.h>
#import <Ably/ARTConnection.h>
#import <Ably/ARTRealtimeChannels.h>

@class ARTStatus;
@class ARTMessage;
Expand All @@ -20,7 +21,6 @@
@class ARTAuth;
@class ARTPush;
@class ARTProtocolMessage;
@class ARTRealtimeChannels;

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -41,6 +41,11 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (readonly, nullable) NSString *clientId;

/**
* An `ARTChannels` object. TODO docs
*/
@property (readonly) id<ARTRealtimeChannelsProtocol> channels;

Check failure on line 47 in Source/include/Ably/ARTRealtime.h

View workflow job for this annotation

GitHub Actions / check (tvOS, test_tvOS17_2)

cannot find protocol declaration for 'ARTRealtimeChannelsProtocol'; did you mean 'ARTRealtimeChannelProtocol'?

Check failure on line 47 in Source/include/Ably/ARTRealtime.h

View workflow job for this annotation

GitHub Actions / check (tvOS, test_tvOS17_2)

cannot find protocol declaration for 'ARTRealtimeChannelsProtocol'; did you mean 'ARTRealtimeChannelProtocol'?

Check failure on line 47 in Source/include/Ably/ARTRealtime.h

View workflow job for this annotation

GitHub Actions / check

cannot find protocol declaration for 'ARTRealtimeChannelsProtocol'; did you mean 'ARTRealtimeChannelProtocol'?

Check failure on line 47 in Source/include/Ably/ARTRealtime.h

View workflow job for this annotation

GitHub Actions / check

cannot find protocol declaration for 'ARTRealtimeChannelsProtocol'; did you mean 'ARTRealtimeChannelProtocol'?

Check failure on line 47 in Source/include/Ably/ARTRealtime.h

View workflow job for this annotation

GitHub Actions / check (macOS, test_macOS)

cannot find protocol declaration for 'ARTRealtimeChannelsProtocol'; did you mean 'ARTRealtimeChannelProtocol'?

Check failure on line 47 in Source/include/Ably/ARTRealtime.h

View workflow job for this annotation

GitHub Actions / check (macOS, test_macOS)

cannot find protocol declaration for 'ARTRealtimeChannelsProtocol'; did you mean 'ARTRealtimeChannelProtocol'?

Check failure on line 47 in Source/include/Ably/ARTRealtime.h

View workflow job for this annotation

GitHub Actions / check (iOS, test_iOS17_2)

cannot find protocol declaration for 'ARTRealtimeChannelsProtocol'; did you mean 'ARTRealtimeChannelProtocol'?

Check failure on line 47 in Source/include/Ably/ARTRealtime.h

View workflow job for this annotation

GitHub Actions / check (iOS, test_iOS17_2)

cannot find protocol declaration for 'ARTRealtimeChannelsProtocol'; did you mean 'ARTRealtimeChannelProtocol'?

/// :nodoc:
- (instancetype)init NS_UNAVAILABLE;

Expand Down

0 comments on commit bb56bc6

Please sign in to comment.