Repository navigation
3.28.1
·
79 commits
to main
since this release
ModuleSet Improvements
Added Sub-Component Types each Modules
SBUGroupChannelModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- RightBarButton- TitleView |
List |
- EmptyView- AdminMessageCell- UserMessageCell- FileMessageCell- MultipleFilesMessageCell- TypingIndicatorMessageCell- UnknownMessageCell- CustomMessageCell- ChannelStateBanner- ScrollBottomView- NewMessageInfo- UserProfileView |
Input |
- MessageInputView- VoiceMessageInputView |
SBUOpenChannelModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- RightBarButton- TitleView |
List |
- EmptyView- AdminMessageCell- UserMessageCell- FileMessageCell- UnknownMessageCell- CustomMessageCell- ChannelStateBanner- ScrollBottomView- UserProfileView |
Input |
- MessageInputView |
Media |
- MediaView |
SBUGroupChannelListModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- RightBarButton- TitleView |
List |
- EmptyView- ChannelCell |
Common |
- `CreateChannelTypeSelector |
SBUOpenChannelListModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- RightBarButton- TitleView |
List |
- EmptyView- ChannelCell |
SBUGroupChannelSettingsModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- RightBarButton- TitleView |
List |
- ChannelInfoView- SettingCell |
SBUOpenChannelSettingsModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- RightBarButton- TitleView |
List |
- ChannelInfoView- SettingCell |
SBUMessageSearchModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- RightBarButton- TitleView |
List |
- EmptyView- MessageSearchResultCell |
SBUMessageThreadModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- RightBarButton- TitleView |
List |
- EmptyView- AdminMessageCell- UserMessageCell- FileMessageCell- MultipleFilesMessageCell- UnknownMessageCell- CustomMessageCell- ChannelStateBanner- UserProfileView- ParentMessageInfoView |
Input |
- MessageInputView- VoiceMessageInputView |
SBUModerationsModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- TitleView |
List |
- ModerationCell |
SBUGroupChannelPushSettingsModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- RightBarButton- TitleView |
List |
- ChannelPushSettingCell |
SBUCreateChannelModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- RightBarButton- TitleView |
List |
- EmptyView- UserCell |
SBUCreateOpenChannelModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- RightBarButton- TitleView |
List |
- ChannelImageView- ChannelNameInputField |
SBUInviteUserModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- RightBarButton- TitleView |
List |
- EmptyView- UserCell |
SBURegisterOperatorModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- RightBarButton- TitleView |
List |
- EmptyView- UserCell |
SBUUserListModule
| Component | SubComponent |
|---|---|
Header |
- LeftBarButton- RightBarButton- TitleView |
List |
- EmptyView- UserCell |
Added Features
SBUViewModelSet: Added ViewModel types:GroupChannelListViewModelOpenChannelListViewModelGroupChannelViewModelOpenChannelViewModelCreateGroupChannelViewModelCreateOpenChannelViewModelInviteUserViewModelGroupChannelRegisterOperatorViewModelOpenChannelRegisterOperatorViewModelGroupUserListViewModelOpenUserListViewModelGroupChannelPushSettingsViewModelGroupChannelSettingsViewModelOpenChannelSettingsViewModelGroupModerationsViewModelOpenModerationsViewModelMessageSearchViewModelMessageThreadViewModel
SBUCommonViewControllerSet: Added common ViewController types:SelectablePhotoViewControllerMenuSheetViewControllerReactionsViewControllerEmojiListViewController
SBUModuleSet: Added module:CommonModule
SBUCommonModule: Introduced with the following components:ToastViewActionSheetAlertViewLoading
SBUGroupChannelListModule: AddedCommonComponent
Updated access levels of classes
SBUModerationCell:public->openSBUChannelSettingsChannelInfoView:public->openSBUMenuSheetViewController:public->openSBUCoverImageView:public->openSBULoading:public->openSBUNavigationTitleView:public->openSBUUnderLineTextField:public->openSBUChannelTitleView:public->openSBUReactionsViewController:public->openSBUChannelPushSettingCell:public->openSBUVoiceMessageInputView:public->openSBUEmojiListViewController:private->openSBUUserProfileView:private->open
Common Updates
- Added
leftBarButtonsandrightBarButtonsproperties in Header component
Added Classes
SBUActionSheet,SBUActionSheetItemSBUAlertButton,SBUAlertButtonItemSBUMenuCellSBUSearchBarSBULabel
Added Delegate Methods
SBUGroupChannelListViewController,SBUOpenChannelListViewController,SBUMessageThreadViewControllerbaseChannelModule(_:didUpdateLeftItems:)methodbaseChannelModule(_:didUpdateRightItems:)method
SBUGroupChannelListViewController,SBUOpenChannelListViewControllerbaseChannelListModule(_:didUpdateLeftItems:)methodbaseChannelListModule(_:didUpdateRightItems:)method
SBUGroupChannelSettingsViewControllergroupChannelSettingsModule(_:didUpdateLeftItems:)methodgroupChannelSettingsModule(_:didUpdateRightItems:)method
SBUOpenChannelSettingsViewControlleropenChannelSettingsModule(_:didUpdateLeftItems:)methodopenChannelSettingsModule(_:didUpdateRightItems:)method
SBUMessageThreadModuleViewControllerbaseChannelModule(_:didUpdateRightItems:)method
SBUModerationsModuleViewControllermoderationsModule(_:didUpdateLeftItems:)methodmoderationsModule(_:didUpdateRightItems:)method
SBUGroupChannelPushSettingsViewControllergroupChannelPushSettingsModule(_:didUpdateLeftItems:)methodgroupChannelPushSettingsModule(_:didUpdateRightItems:)method
SBUCreateChannelViewControllercreateChannelModule(_:didUpdateLeftItems:)methodcreateChannelModule(_:didUpdateRightItems:)method
SBUCreateOpenChannelViewControllercreateOpenChannelModule(_:didUpdateLeftItems:)methodcreateOpenChannelModule(_:didUpdateRightItems:)method
SBUInviteUserViewControllerinviteUserModule(_:didUpdateLeftItems:)methodinviteUserModule(_:didUpdateRightItems:)method
SBURegisterOperatorViewControllerregisterOperatorModule(_:didUpdateLeftItems:)methodregisterOperatorModule(_:didUpdateRightItems:)method
SBUUserListViewControlleruserListModule(_:didUpdateLeftItems:)methoduserListModule(_:didUpdateRightItems:)method
New Interfaces
Properties
BaseMessage: AddedisStreamMessageSBUAdminMessage: AddedadminMessageSBUMessageSearchViewModel: AddedchannelURL
Methods
UIStackView: AddedremoveAllSubViewsUIViewextension: Addedsbu_constraint_fill(equalTo:)SBUUtils: AddedisRTLCharacter(with:)SBUMessageSearchModule.Header: AddedcancelSearch()SBUColorSet: AddedrestoreDefaultColors()SBUFontSet: AddedrestoreDefaultFonts()SBUMessageSearchViewController: AddedcreateViewModel(channelURL:)SBUMessageSearchViewModel: AddedloadChannel(channelURL:)
Classes
- Added
SBUChannelStateBanner - Added
SBUMediaView - Added
SBUScrollBottomView - Added
SBUBottomSheetController - Added
SBUBarButtonItem
Improvements
SBUAdminMessageCellParams: AddedisThreadMessageparameter to the constructor