Skip to content

Commit 679fe32

Browse files
committed
Fixed bugs
1 parent 803b9f0 commit 679fe32

40 files changed

+102
-112
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
### v2.1.6 (May 11, 2021)
4+
* Fixed video thumbnail bug
5+
* Removed `configureContentOffset` in `SBUChannelViewController` and allowed to adjust tableView contentInset
6+
37
### v2.1.5 (Apr 23, 2021)
48
* Added in `SBUMessageSearchViewController`
59
* `searchResultList: [SBDBaseMessage]` : Holds the search results.

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.1.5</string>
16+
<string>2.1.6</string>
1717
<key>CFBundleVersion</key>
1818
<string>1</string>
1919
</dict>
17.8 KB
Binary file not shown.

SendBirdUIKit.framework/Headers/SBUBaseChannelViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ open class SBUBaseChannelViewController: SBUBaseViewController {
7979
fatalError("init(coder:) has not been implemented")
8080
}
8181

82-
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
82+
public override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
8383
self.startingPoint = nil
8484
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
8585
}

SendBirdUIKit.framework/Headers/SBUChannelViewController.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,6 @@ open class SBUChannelViewController: SBUBaseChannelViewController {
431431

432432
open override func viewDidLayoutSubviews() {
433433
super.viewDidLayoutSubviews()
434-
self.configureOffset()
435-
436434
self.setupStyles()
437435
}
438436

@@ -1069,14 +1067,6 @@ open class SBUChannelViewController: SBUBaseChannelViewController {
10691067
return Date.from(prevCreatedAt).isSameDay(as: Date.from(curCreatedAt))
10701068
}
10711069

1072-
public func configureOffset() {
1073-
guard self.tableView.contentOffset.y < 0,
1074-
self.tableViewTopConstraint.constant <= 0 else { return }
1075-
1076-
let tempOffset = self.tableView.contentOffset.y
1077-
self.tableViewTopConstraint.constant -= tempOffset
1078-
}
1079-
10801070
/// This is used to check the loading status and control loading indicator.
10811071
/// - Parameters:
10821072
/// - loadingState: Set to true when the list is loading.

SendBirdUIKit.framework/Headers/SendBirdUIKit-Swift.h

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ SWIFT_CLASS("_TtC13SendBirdUIKit28SBUBaseChannelViewController")
796796
/// This object has a list of all messages.
797797
@property (nonatomic, readonly, copy) NSArray<SBDBaseMessage *> * _Nonnull fullMessageList;
798798
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
799-
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
799+
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
800800
- (void)viewWillAppear:(BOOL)animated;
801801
- (void)viewWillDisappear:(BOOL)animated;
802802
- (void)loadView;
@@ -1693,7 +1693,6 @@ SWIFT_CLASS("_TtC13SendBirdUIKit24SBUChannelViewController")
16931693
/// returns:
16941694
/// If <code>true</code>, the messages date is same day.
16951695
- (BOOL)checkSameDayAsNextMessageWithCurrentIndex:(NSInteger)currentIndex SWIFT_WARN_UNUSED_RESULT;
1696-
- (void)configureOffset;
16971696
/// This is used to check the loading status and control loading indicator.
16981697
/// \param loadingState Set to true when the list is loading.
16991698
///
@@ -5548,7 +5547,7 @@ SWIFT_CLASS("_TtC13SendBirdUIKit28SBUBaseChannelViewController")
55485547
/// This object has a list of all messages.
55495548
@property (nonatomic, readonly, copy) NSArray<SBDBaseMessage *> * _Nonnull fullMessageList;
55505549
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
5551-
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
5550+
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
55525551
- (void)viewWillAppear:(BOOL)animated;
55535552
- (void)viewWillDisappear:(BOOL)animated;
55545553
- (void)loadView;
@@ -6445,7 +6444,6 @@ SWIFT_CLASS("_TtC13SendBirdUIKit24SBUChannelViewController")
64456444
/// returns:
64466445
/// If <code>true</code>, the messages date is same day.
64476446
- (BOOL)checkSameDayAsNextMessageWithCurrentIndex:(NSInteger)currentIndex SWIFT_WARN_UNUSED_RESULT;
6448-
- (void)configureOffset;
64496447
/// This is used to check the loading status and control loading indicator.
64506448
/// \param loadingState Set to true when the list is loading.
64516449
///
@@ -10302,7 +10300,7 @@ SWIFT_CLASS("_TtC13SendBirdUIKit28SBUBaseChannelViewController")
1030210300
/// This object has a list of all messages.
1030310301
@property (nonatomic, readonly, copy) NSArray<SBDBaseMessage *> * _Nonnull fullMessageList;
1030410302
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
10305-
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
10303+
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
1030610304
- (void)viewWillAppear:(BOOL)animated;
1030710305
- (void)viewWillDisappear:(BOOL)animated;
1030810306
- (void)loadView;
@@ -11199,7 +11197,6 @@ SWIFT_CLASS("_TtC13SendBirdUIKit24SBUChannelViewController")
1119911197
/// returns:
1120011198
/// If <code>true</code>, the messages date is same day.
1120111199
- (BOOL)checkSameDayAsNextMessageWithCurrentIndex:(NSInteger)currentIndex SWIFT_WARN_UNUSED_RESULT;
11202-
- (void)configureOffset;
1120311200
/// This is used to check the loading status and control loading indicator.
1120411201
/// \param loadingState Set to true when the list is loading.
1120511202
///
@@ -15054,7 +15051,7 @@ SWIFT_CLASS("_TtC13SendBirdUIKit28SBUBaseChannelViewController")
1505415051
/// This object has a list of all messages.
1505515052
@property (nonatomic, readonly, copy) NSArray<SBDBaseMessage *> * _Nonnull fullMessageList;
1505615053
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
15057-
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
15054+
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
1505815055
- (void)viewWillAppear:(BOOL)animated;
1505915056
- (void)viewWillDisappear:(BOOL)animated;
1506015057
- (void)loadView;
@@ -15951,7 +15948,6 @@ SWIFT_CLASS("_TtC13SendBirdUIKit24SBUChannelViewController")
1595115948
/// returns:
1595215949
/// If <code>true</code>, the messages date is same day.
1595315950
- (BOOL)checkSameDayAsNextMessageWithCurrentIndex:(NSInteger)currentIndex SWIFT_WARN_UNUSED_RESULT;
15954-
- (void)configureOffset;
1595515951
/// This is used to check the loading status and control loading indicator.
1595615952
/// \param loadingState Set to true when the list is loading.
1595715953
///

SendBirdUIKit.framework/Info.plist

-1 Bytes
Binary file not shown.
-1.54 KB
Binary file not shown.
-1.54 KB
Binary file not shown.
-1.54 KB
Binary file not shown.

0 commit comments

Comments
 (0)