Releases: sendbird/sendbird-uikit-ios
3.28.1
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:GroupChannelListViewModel
OpenChannelListViewModel
GroupChannelViewModel
OpenChannelViewModel
CreateGroupChannelViewModel
CreateOpenChannelViewModel
InviteUserViewModel
GroupChannelRegisterOperatorViewModel
OpenChannelRegisterOperatorViewModel
GroupUserListViewModel
OpenUserListViewModel
GroupChannelPushSettingsViewModel
GroupChannelSettingsViewModel
OpenChannelSettingsViewModel
GroupModerationsViewModel
OpenModerationsViewModel
MessageSearchViewModel
MessageThreadViewModel
SBUCommonViewControllerSet
: Added common ViewController types:SelectablePhotoViewController
MenuSheetViewController
ReactionsViewController
EmojiListViewController
SBUModuleSet
: Added module:CommonModule
SBUCommonModule
: Introduced with the following components:ToastView
ActionSheet
AlertView
Loading
SBUGroupChannelListModule
: AddedCommonComponent
Updated access levels of classes
SBUModerationCell
:public
->open
SBUChannelSettingsChannelInfoView
:public
->open
SBUMenuSheetViewController
:public
->open
SBUCoverImageView
:public
->open
SBULoading
:public
->open
SBUNavigationTitleView
:public
->open
SBUUnderLineTextField
:public
->open
SBUChannelTitleView
:public
->open
SBUReactionsViewController
:public
->open
SBUChannelPushSettingCell
:public
->open
SBUVoiceMessageInputView
:public
->open
SBUEmojiListViewController
:private
->open
SBUUserProfileView
:private
->open
Common Updates
- Added
leftBarButtons
andrightBarButtons
properties in Header component
Added Classes
SBUActionSheet
,SBUActionSheetItem
SBUAlertButton
,SBUAlertButtonItem
SBUMenuCell
SBUSearchBar
SBULabel
Added Delegate Methods
SBUGroupChannelListViewController
,SBUOpenChannelListViewController
,SBUMessageThreadViewController
baseChannelModule(_:didUpdateLeftItems:)
methodbaseChannelModule(_:didUpdateRightItems:)
method
SBUGroupChannelListViewController
,SBUOpenChannelListViewController
baseChannelListModule(_:didUpdateLeftItems:)
methodbaseChannelListModule(_:didUpdateRightItems:)
method
SBUGroupChannelSettingsViewController
groupChannelSettingsModule(_:didUpdateLeftItems:)
methodgroupChannelSettingsModule(_:didUpdateRightItems:)
method
SBUOpenChannelSettingsViewController
openChannelSettingsModule(_:didUpdateLeftItems:)
methodopenChannelSettingsModule(_:didUpdateRightItems:)
method
SBUMessageThreadModuleViewController
baseChannelModule(_:didUpdateRightItems:)
method
SBUModerationsModuleViewController
moderationsModule(_:didUpdateLeftItems:)
methodmoderationsModule(_:didUpdateRightItems:)
method
SBUGroupChannelPushSettingsViewController
groupChannelPushSettingsModule(_:didUpdateLeftItems:)
methodgroupChannelPushSettingsModule(_:didUpdateRightItems:)
method
SBUCreateChannelViewController
createChannelModule(_:didUpdateLeftItems:)
methodcreateChannelModule(_:didUpdateRightItems:)
method
SBUCreateOpenChannelViewController
createOpenChannelModule(_:didUpdateLeftItems:)
methodcreateOpenChannelModule(_:didUpdateRightItems:)
method
SBUInviteUserViewController
inviteUserModule(_:didUpdateLeftItems:)
methodinviteUserModule(_:didUpdateRightItems:)
method
SBURegisterOperatorViewController
registerOperatorModule(_:didUpdateLeftItems:)
methodregisterOperatorModule(_:didUpdateRightItems:)
method
SBUUserListViewController
userListModule(_:didUpdateLeftItems:)
methoduserListModule(_:didUpdateRightItems:)
method
New Interfaces
Properties
BaseMessage
: AddedisStreamMessage
SBUAdminMessage
: AddedadminMessage
SBUMessageSearchViewModel
: AddedchannelURL
Methods
UIStackView
: AddedremoveAllSubViews
UIView
extension: 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
: AddedisThreadMessage
parameter to the constructor
3.28.0
⚠️ 3.28.0 is not support Swift package manager
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:GroupChannelListViewModel
OpenChannelListViewModel
GroupChannelViewModel
OpenChannelViewModel
CreateGroupChannelViewModel
CreateOpenChannelViewModel
InviteUserViewModel
GroupChannelRegisterOperatorViewModel
OpenChannelRegisterOperatorViewModel
GroupUserListViewModel
OpenUserListViewModel
GroupChannelPushSettingsViewModel
GroupChannelSettingsViewModel
OpenChannelSettingsViewModel
GroupModerationsViewModel
OpenModerationsViewModel
MessageSearchViewModel
MessageThreadViewModel
SBUCommonViewControllerSet
: Added common ViewController types:SelectablePhotoViewController
MenuSheetViewController
ReactionsViewController
EmojiListViewController
SBUModuleSet
: Added module:CommonModule
SBUCommonModule
: Introduced with the following components:ToastView
ActionSheet
AlertView
Loading
SBUGroupChannelListModule
: AddedCommonComponent
Updated access levels of classes
SBUModerationCell
:public
->open
SBUChannelSettingsChannelInfoView
:public
->open
SBUMenuSheetViewController
:public
->open
SBUCoverImageView
:public
->open
SBULoading
:public
->open
SBUNavigationTitleView
:public
->open
SBUUnderLineTextField
:public
->open
SBUChannelTitleView
:public
->open
SBUReactionsViewController
:public
->open
SBUChannelPushSettingCell
:public
->open
SBUVoiceMessageInputView
:public
->open
SBUEmojiListViewController
:private
->open
SBUUserProfileView
:private
->open
Common Updates
- Added
leftBarButtons
andrightBarButtons
properties in Header component
Added Classes
SBUActionSheet
,SBUActionSheetItem
SBUAlertButton
,SBUAlertButtonItem
SBUMenuCell
SBUSearchBar
SBULabel
Added Delegate Methods
SBUGroupChannelListViewController
,SBUOpenChannelListViewController
,SBUMessageThreadViewController
baseChannelModule(_:didUpdateLeftItems:)
methodbaseChannelModule(_:didUpdateRightItems:)
method
SBUGroupChannelListViewController
,SBUOpenChannelListViewController
baseChannelListModule(_:didUpdateLeftItems:)
methodbaseChannelListModule(_:didUpdateRightItems:)
method
SBUGroupChannelSettingsViewController
groupChannelSettingsModule(_:didUpdateLeftItems:)
methodgroupChannelSettingsModule(_:didUpdateRightItems:)
method
SBUOpenChannelSettingsViewController
openChannelSettingsModule(_:didUpdateLeftItems:)
methodopenChannelSettingsModule(_:didUpdateRightItems:)
method
SBUMessageThreadModuleViewController
baseChannelModule(_:didUpdateRightItems:)
method
SBUModerationsModuleViewController
moderationsModule(_:didUpdateLeftItems:)
methodmoderationsModule(_:didUpdateRightItems:)
method
SBUGroupChannelPushSettingsViewController
groupChannelPushSettingsModule(_:didUpdateLeftItems:)
methodgroupChannelPushSettingsModule(_:didUpdateRightItems:)
method
SBUCreateChannelViewController
createChannelModule(_:didUpdateLeftItems:)
methodcreateChannelModule(_:didUpdateRightItems:)
method
SBUCreateOpenChannelViewController
createOpenChannelModule(_:didUpdateLeftItems:)
methodcreateOpenChannelModule(_:didUpdateRightItems:)
method
SBUInviteUserViewController
inviteUserModule(_:didUpdateLeftItems:)
methodinviteUserModule(_:didUpdateRightItems:)
method
SBURegisterOperatorViewController
registerOperatorModule(_:didUpdateLeftItems:)
methodregisterOperatorModule(_:didUpdateRightItems:)
method
SBUUserListViewController
userListModule(_:didUpdateLeftItems:)
methoduserListModule(_:didUpdateRightItems:)
method
New Interfaces
Properties
BaseMessage
: AddedisStreamMessage
SBUAdminMessage
: AddedadminMessage
SBUMessageSearchViewModel
: AddedchannelURL
Methods
UIStackView
: AddedremoveAllSubViews
UIView
extension: 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
: AddedisThreadMessage
parameter to the constructor
3.27.5
New Interfaces
Added flag options in SBUGlobals
that lets you choose to show a loading indicator in cases where the indicator is undisplayed by default.
SBUGlobals.loadingIndicator.groupChannelList.cachedChannels
SBUGlobals.loadingIndicator.groupChannel.cachedMessages
Improvements
- Added functionality to retry up to 10 times if an individual message template cannot be retrieved from the server
- Fixed a bug where the category filter was positioned outside the safe area
3.27.4
Improvements
- Fixed a bug where the category filter was positioned outside the safe area
3.27.3
Improvements
- Fixed crash when markdown link string is invalid
3.27.2
Improvements
- Fixed the behaviour of
extended_message_payload.disable_chat_input
to work correctly with sequential messages in a workflow. - Improved stability
3.27.1
- SendbirdChatSDK dependency version has been updated to v4.21.1
Improvements
- Fixed incorrect exposure of trailing layouts when rendering templates
- Replaced the deprecated method
markAsViewed()
withlogViewed()
from SendbirdChatSDK
3.27.0
New Features
- Added support for EmojiCategory. You can now filter emojis for different messages when adding Reactions to a message.
- Interfaces
SBUGlobals.emojiCategoryFilter: (BaseMessage) -> [Int64]?
- Note: You need to set your custom EmojiCategory using Sendbird Platform API in advance.
- Interfaces
New Interfaces
-
Added views for
MessageForm
that work with the Sendbird dashboard (interfaces related toform
have been deprecated)-
Added
SBUMessageFormView
data base view class -
Added
SBUSimpleMessageFormView
view class -
Added
SBUMessageFormItemView
data base view class -
Added
SBUMessageFormChipsItemView
,SBUMessageFormSingleTextItemView
andSBUMessageFormMultiTextItemView
item view classes -
Added
SBUMessageFormFallbackView
fallback view class -
Added
SBUMesageFormChipView
,SBUTextView
view classes -
Added
SBUMessageFormViewDelegate
andSBUMessageFormItemViewDelegate
protocols -
Added
submitMessageForm(message:)
inSBUGroupChannelViewModel
class -
Added
getChatInputDisabledState(hasNext:)
method in extension ofBaseMessage
-
Added
isFormSubmitting
,formItemValidationStatus
properties in extension ofBaseMessage
-
Added
isValidVersion
property in extension ofMessageForm
-
Added
keyboardType
andisTextInputType
properties in extension ofMessageFormItem.LayoutType
-
Added
canUpdate(_:)
andisValid(_:)
functions in extension ofMessageFormItem.ResultCount
-
Added
isOnlyOne
property in extension ofMessageFormItem.ResultCount
-
Deprecated
SBUFormViewDelegate
andSBUFormFieldViewDelegate
protocols -
Deprecated
SBUFormFieldView
andSBUSimpleFormFieldView
classes -
Deprecated
SBUFormFieldInputType
enum -
Deprecated
SBUFormView
andSBUSimpleFormView
classes
-
3.26.0
- Fixed wrong background color issue in mention limit guide
- Improve stream message determination criteria
- Fixed an issue where the alignment of menu and aciton sheet was exposed as rtl style.
- Fixed text alignment in
SBUUserMessageTextView
andSBUMessageInputView
to be changed by checking the RTL property of the input message if the app is RTL layout- Add
isRTLCharacter(with:)
static method inSBUUtils
- Add
rtlCharacterSet
static property inSBUUtils
- Add
3.25.0
- Support Right-to-Left (RTL) languages
- Added a static method to force a change to the value of a view's semantic content attribute
- Added setSemanticContentAttributeRecursively(view: UIView, attribute: UISemanticContentAttribute) in UIView Extension
- Resolved the autolayout warnings for the message template
- Fixed Markdown syntax exposed in channel preview even when Markdown is enabled