Skip to content

Commit

Permalink
removes redundant swift notation from enums
Browse files Browse the repository at this point in the history
  • Loading branch information
umair-ably committed Aug 28, 2024
1 parent d7aed7c commit 41589f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Source/include/Ably/ARTEncoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ NS_SWIFT_NAME(PushRecipient)

/// :nodoc:
typedef NS_ENUM(NSUInteger, ARTEncoderFormat) {
ARTEncoderFormatJson NS_SWIFT_NAME(json),
ARTEncoderFormatMsgPack NS_SWIFT_NAME(msgPack)
ARTEncoderFormatJson,
ARTEncoderFormatMsgPack
} NS_SWIFT_NAME(EncoderFormat);

NS_ASSUME_NONNULL_BEGIN
Expand Down
12 changes: 6 additions & 6 deletions Source/include/Ably/ARTLog.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ NS_ASSUME_NONNULL_BEGIN

/// :nodoc:
typedef NS_ENUM(NSUInteger, ARTLogLevel) {
ARTLogLevelVerbose NS_SWIFT_NAME(verbose),
ARTLogLevelDebug NS_SWIFT_NAME(debug),
ARTLogLevelInfo NS_SWIFT_NAME(info),
ARTLogLevelWarn NS_SWIFT_NAME(warn),
ARTLogLevelError NS_SWIFT_NAME(error),
ARTLogLevelNone NS_SWIFT_NAME(none)
ARTLogLevelVerbose,
ARTLogLevelDebug,
ARTLogLevelInfo,
ARTLogLevelWarn,
ARTLogLevelError,
ARTLogLevelNone
} NS_SWIFT_NAME(LogLevel);

/// :nodoc:
Expand Down

0 comments on commit 41589f4

Please sign in to comment.