Skip to content

Commit 56f41b2

Browse files
committed
* Improved stability
* Added `UsingImageCompression` flag in `SBUGlobals`
1 parent 90bd1e2 commit 56f41b2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+110
-110
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions

SendBirdUIKit.framework.dSYM/Contents/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<key>CFBundleSignature</key>
1414
<string>????</string>
1515
<key>CFBundleShortVersionString</key>
16-
<string>2.0.1</string>
16+
<string>2.0.3</string>
1717
<key>CFBundleVersion</key>
1818
<string>1</string>
1919
</dict>
-468 Bytes
Binary file not shown.

SendBirdUIKit.framework/Assets.car

0 Bytes
Binary file not shown.

SendBirdUIKit.framework/Headers/SBUChannelViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ open class SBUChannelViewController: SBUBaseChannelViewController, UINavigationC
12651265
.resize(with: SBUGlobals.imageResizingSize) else { return }
12661266

12671267
var imageData: Data?
1268-
if SBUGlobals.shouldUseImageCompression {
1268+
if SBUGlobals.UsingImageCompression {
12691269
imageData = image
12701270
.jpegData(compressionQuality: SBUGlobals.imageCompressionRate)
12711271
}
@@ -1315,7 +1315,7 @@ open class SBUChannelViewController: SBUBaseChannelViewController, UINavigationC
13151315
.resize(with: SBUGlobals.imageResizingSize) else { return }
13161316

13171317
var imageData: Data?
1318-
if SBUGlobals.shouldUseImageCompression {
1318+
if SBUGlobals.UsingImageCompression {
13191319
imageData = image
13201320
.jpegData(compressionQuality: SBUGlobals.imageCompressionRate)
13211321
}

SendBirdUIKit.framework/Headers/SBUGlobals.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class SBUGlobals: NSObject {
3939

4040
/// if this value is enabled, image compression and resizing will be applied when sending a file message
4141
/// - Since: 2.0.1
42-
public static var shouldUseImageCompression: Bool = false
42+
public static var UsingImageCompression: Bool = false
4343

4444
/// Image compression rate value that will be used when sending image. Default value is 0.85.
4545
/// Typically this value will be used in `jpegData(compressionQuality:)`

SendBirdUIKit.framework/Headers/SendBirdUIKit-Swift.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2310,9 +2310,9 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL UsingUserProfileInOpenCha
23102310
/// if this value is enabled, image compression and resizing will be applied when sending a file message
23112311
/// since:
23122312
/// 2.0.1
2313-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL shouldUseImageCompression;)
2314-
+ (BOOL)shouldUseImageCompression SWIFT_WARN_UNUSED_RESULT;
2315-
+ (void)setShouldUseImageCompression:(BOOL)value;
2313+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL UsingImageCompression;)
2314+
+ (BOOL)UsingImageCompression SWIFT_WARN_UNUSED_RESULT;
2315+
+ (void)setUsingImageCompression:(BOOL)value;
23162316
/// Image compression rate value that will be used when sending image. Default value is 0.85.
23172317
/// Typically this value will be used in <code>jpegData(compressionQuality:)</code>
23182318
/// since:
@@ -6951,9 +6951,9 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL UsingUserProfileInOpenCha
69516951
/// if this value is enabled, image compression and resizing will be applied when sending a file message
69526952
/// since:
69536953
/// 2.0.1
6954-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL shouldUseImageCompression;)
6955-
+ (BOOL)shouldUseImageCompression SWIFT_WARN_UNUSED_RESULT;
6956-
+ (void)setShouldUseImageCompression:(BOOL)value;
6954+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL UsingImageCompression;)
6955+
+ (BOOL)UsingImageCompression SWIFT_WARN_UNUSED_RESULT;
6956+
+ (void)setUsingImageCompression:(BOOL)value;
69576957
/// Image compression rate value that will be used when sending image. Default value is 0.85.
69586958
/// Typically this value will be used in <code>jpegData(compressionQuality:)</code>
69596959
/// since:
@@ -11594,9 +11594,9 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL UsingUserProfileInOpenCha
1159411594
/// if this value is enabled, image compression and resizing will be applied when sending a file message
1159511595
/// since:
1159611596
/// 2.0.1
11597-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL shouldUseImageCompression;)
11598-
+ (BOOL)shouldUseImageCompression SWIFT_WARN_UNUSED_RESULT;
11599-
+ (void)setShouldUseImageCompression:(BOOL)value;
11597+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL UsingImageCompression;)
11598+
+ (BOOL)UsingImageCompression SWIFT_WARN_UNUSED_RESULT;
11599+
+ (void)setUsingImageCompression:(BOOL)value;
1160011600
/// Image compression rate value that will be used when sending image. Default value is 0.85.
1160111601
/// Typically this value will be used in <code>jpegData(compressionQuality:)</code>
1160211602
/// since:
@@ -16235,9 +16235,9 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL UsingUserProfileInOpenCha
1623516235
/// if this value is enabled, image compression and resizing will be applied when sending a file message
1623616236
/// since:
1623716237
/// 2.0.1
16238-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL shouldUseImageCompression;)
16239-
+ (BOOL)shouldUseImageCompression SWIFT_WARN_UNUSED_RESULT;
16240-
+ (void)setShouldUseImageCompression:(BOOL)value;
16238+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL UsingImageCompression;)
16239+
+ (BOOL)UsingImageCompression SWIFT_WARN_UNUSED_RESULT;
16240+
+ (void)setUsingImageCompression:(BOOL)value;
1624116241
/// Image compression rate value that will be used when sending image. Default value is 0.85.
1624216242
/// Typically this value will be used in <code>jpegData(compressionQuality:)</code>
1624316243
/// since:

SendBirdUIKit.framework/Info.plist

0 Bytes
Binary file not shown.
-4 Bytes
Binary file not shown.
-4 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)