Releases: sendbird/sendbird-uikit-ios-spm
Releases · sendbird/sendbird-uikit-ios-spm
v3.1.3
v3.1.2
v3.1.2 (Aug 31, 2022) with Chat SDK v4.0.9
- Added message menu interfaces and events to
BaseChannelModuleList
- List
showMessageMenu(on:forRowAt:)
showFailedMessageMenu(on:)
showDeleteMessageAlert(on:oneTimeTheme:)
showMessageMenuSheet(for:cell:)
showMessageContextMenu(for:cell:forRowAt:)
createMessageMenuItems(for:) -> [SBUMenuItem]
createCopyMenuItem(for:) -> SBUMenuItem
createDeleteMenuItem(for:) -> SBUMenuItem
createEditMenuItem(for:) -> SBUMenuItem
createSaveMenuItem(for:) -> SBUMenuItem
createReplyMenuItem(for:) -> SBUMenuItem
- Delegate
baseChannelModule(_:didTapRetryFailedMessage:)
baseChannelModule(_:didTapDeleteFailedMessage:)
baseChannelModule(_:didTapCopyMessage:)
baseChannelModule(_:didTapDeleteMessage:)
baseChannelModule(_:didTapEditMessage:)
baseChannelModule(_:didTapSaveMessage:)
baseChannelModule(_:didTapReplyMessage:)
baseChannelModule(_:didReactToMessage:withEmoji:selected:)
baseChannelModule(_:didTapMoreEmojisOnMessage:)
baseChannelModule(_:didDismissMenuForCell:)
- DataSource
baseChannelModule(_:parentViewControllerDisplayMenuItems:) -> UIViewController?
- List
- Improved stability
- Improved logic in
SBUUserListViewController
- Fixed typo in
SBUViewControllerSet
- Improved logic in
v3.1.1
v2.2.9
- Applied
SBUSelectablePhotoViewDelegate
andPHPickerViewControllerDelegate
toSBUBaseChannelSettingViewController
- Added
showCamera()
,showPhotoLibraryPicker()
,showLimitedPhotoLibraryPicker()
andshowPermissionAlert()
toSBUBaseChannelSettingViewController
- Added
- Added
init(mediaType:)
toSBUSelectablePhotoViewController
- Added
startHandler
toSendbirdUI
initializer- Renamed to
initialize(applicationId:startHandler:migrationHandler:completionHandler:)
- Renamed to
- Fixed quoted message long name layout issue
v3.1.0
v3.1.0 (Aug 3, 2022) with Chat SDK v4.0.8
- Support moderation in OpenChannel
SBUModuleSet
- Deprecated
moderationsModule
property, usegroupModerationsModule
oropenModerationsModule
instead - Deprecated
registerOperatorModule
property, usegroupRegisterOperatorModule
oropenRegisterOperatorModule
instead - Deprecated
userListModule
property, usegroupUserListModule
oropenUserListModule
instead - Deprecated
init(channelListModule:baseChannelModule:groupChannelModule:openChannelModule:inviteUserModule:registerOperatorModule:userListModule:groupChannelPushSettingsModule:createChannelModule:groupChannelSettingsModule:openChannelSettingsModule:moderationsModule:messageSearchModule:)
function, useinit(channelListModule:baseChannelModule:groupChannelModule:openChannelModule:inviteUserModule:groupRegisterOperatorModule:openRegisterOperatorModule:groupUserListModule:openUserListModule:groupChannelPushSettingsModule:createChannelModule:groupChannelSettingsModule:openChannelSettingsModule:groupModerationsModule:openModerationsModule:messageSearchModule:)
instead
- Deprecated
SBUViewControllerSet
- Renmaed
groupChannelPushSettingsViewController
toGroupChannelPushSettingsViewController
- Deprecated
RegisterOperatorViewController
, useGroupChannelRegisterOperatorViewController
orOpenChannelRegisterOperatorViewController
instead - Deprecated
UserListViewController
, useGroupUserListViewController
orOpenUserListViewController
instead - Deprecated
ModerationsViewController
, useGroupModerationsViewController
orOpenModerationsViewController
instead
- Renmaed
SBUEnums
- Added
allTypes(channel:)
function inModerationItemType
enum - Added
noMutedParticipants
case inEmptyViewType
- Added
SBUModerationsViewController
- Deprecated
init(channelURL:)
, useinit(channelURL:channelType:)
instead - Deprecated
createViewModel(channel:channelURL:)
, usecreateViewModel(channel:)
orcreateViewModel(channelURL:channelType:)
instead
- Deprecated
- Added functions in
SBUOpenChannelSettingsViewController
classshowModerationList()
showDeleteChannelAlert()
- Deprecated function in
SBUModerationsViewModel
classinit(channe:channelURL:delegate:)
-> Useinit(channel:delegate:)
orinit(channelURL:channelType:delegate:)
instead
- Added
channelType
parameter in configuration function ofSBUUserListModule.Header
- Added
channelType
parameter in initialization function ofSBURegisterOperatorViewController
- Added
participantListQuery
parameter in initialization function ofSBUBaseSelectUserViewModel
- Added
mutedParticipantListQuery
parameter in initialization function ofSBUUserListViewModel
- Added
sbu_updateOperatorStatus(channel:)
- Improved list item customization of Group/OpenChannelSettings
- Added
SBUChannelSettingItem
- Added
SBUBaseChannelSettingCell
,SBUGroupChannelSettingCell
andSBUOpenChannelSettingCell
- Added did select related delegates in
SBUGroupChannelSettingsModule.List
andSBUOpenChannelSettingsModule.List
- Modified
configureCell
ofSBUGroupChannelSettingsModule.List
andSBUOpenChannelSettingsModule.List
to useSBUChannelSettingItem
- Added
- Added moderations menu in OpenChannelSettings
- Added
itemDeleteTextColor
property inSBUChannelSettingsTheme
- Added strings
ChannelSettings_Delete_Question_Mark
ChannelSettings_Delete_Description
- Added
- Added ChannelSetting item's notification strings
ChannelSettings_Notifications_On
ChannelSettings_Notifications_Off
ChannelSettings_Notifications_Mentiones_Only
- Modified
loadAllEmojis(completionHandler:)
function access level topublic
inSBUEmojiManager
class - Improved stability
v3.0.0
v3.0.0 (Jul 12, 2022) with Chat SDK v4.0.5
- UIKit v3.0.0 officially version
- Applied
SBUSelectablePhotoViewDelegate
andPHPickerViewControllerDelegate
toSBUBaseChannelSettingViewController
- Added
showCamera()
,showPhotoLibraryPicker()
,showLimitedPhotoLibraryPicker()
andshowPermissionAlert()
toSBUBaseChannelSettingViewController
- Added
- Added
init(mediaType:)
toSBUSelectablePhotoViewController
- Added
startHandler
toSendbirdUI
initializer- Renamed to
initialize(applicationId:startHandler:migrationHandler:completionHandler:)
- Renamed to
- Set
setMemberInfoInMessage
option totrue
- Added muted mode feature in OpenChannel
- Fixed quoted message long name layout issue
- Modified access level of message cell interfaces
- Added
messageInputView(_:willChangeMode:message:mentionManager:)
toSBUGroupChannelModule.Input
- Changed
SBUMessageInputView option
to read-only - Renamed
SBUStringSet
ChannelSettings_Banned_Members
toChannelSettings_Banned_Users
Empty_No_Banned_Members
toEmpty_No_Banned_Users
InviteChannel_Header_Select_Members
toInviteChannel_Header_Select_Users
InviteChannel_Add
toInviteChannel_Register
MemberList_Me
toUserList_Me
MemberList_Ban
toUserList_Ban
MemberList_Unban
toUserList_Unban
MemberList_Mute
toUserList_Mute
MemberList_Unmute
toUserList_Unmute
MemberList_Dismiss_Operator
toUserList_Unregister_Operator
MemberList_Promote_Operator
toUserList_Register_Operator
MemberList_Title_Members
toUserList_Title_Members
MemberList_Title_Operators
toUserList_Title_Operators
MemberList_Title_Muted_Members
toUserList_Title_Muted_Members
MemberList_Title_Banned_Members
toUserList_Title_Banned_Users
MemberList_Title_Participants
toUserList_Title_Participants
UserProfile_Promote
toUserProfile_Register
UserProfile_Dismiss
toUserProfile_Unregister
- Added new
SBUStringSet
UserList_Title_Muted_Participants
Empty_No_Muted_Participants
- Removed unused
SBUStringSet
MemberList_Header_Title
- Renamed
SBUEnums
ChannelMemberListType
toChannelUserListType
channelMembers
,mutedMembers
,bannedMembers
tomembers
,muted
,banned
inChannelMemberListType
bannedMembers
tobannedUsers
inModerationItemType
channelMembers
,inviteUser
,mutedMembers
,bannedMembers
tomembers
,invite
,muted
,banned
inUserListType
noBannedMembers
tonoBannedUsers
inEmptyViewType
- Renamed
SBUMemberListViewController
toSBUUserListViewController
- Renamed properties, functions in
SBUMemberListViewController
memberList
,memberListType
touserList
,userListType
init(channel:memberListType:)
toinit(channel:userListType:)
init(channel:members:type:)
toinit(channel:users:userListType:)
init(channelURL:channelType:members:memberListType:)
toinit(channelURL:channelType:users:userListType:)
v3.0.0-beta.4
- Modified some view to be able to change its date format
- Opened
SBUMessageDateView
- Opened
SBUChannelCell
- Added
SBUMessageDateView.dateFormat
- Added
SBUOpenChannelContentBaseMessageCell.dateFormat
- Added
SBUMessageSearchResultCell.dateFormat
- Added parameters to
SBUChannelCell buildLastUpdatedDate()
:dateFormat
,timeFormat
- Opened
- Added public classes and interfaces regarding message cells
- Added open/public interfaces in message cells.
- Added
SBULinkClickableTextView
- Added
SBUMessageWebView
,SBUMessageWebViewModel
andSBUOpenChannelMessageWebView
- Added
SBUUserMessageTextViewDelegate
,SBUUserMessageTextViewModel
andSBUUserMessageTextView
- Added
SBUUserNameView
- Added
SBUFileViewerDelegate
andSBUFileViewer
- Added
QuotedFileCommonContentView
andQuotedFileImageContentView
- Added
SBUMessageReactionView
- Added
SBUDateFormatSet
- Added
Date.sbu_toString(dateFormat:localizedFormat)
- Changed
Date.lastUpdatedTime
function inData+SBUIKit
access level to public - Fixed not called completion handler on unregister pushToken
v2.2.8
- Modified some view to be able to change its date format
- Opened
SBUMessageDateView
- Opened
SBUChannelCell
- Added
SBUMessageDateView.dateFormat
- Added
SBUOpenChannelContentBaseMessageCell.dateFormat
- Added
SBUMessageSearchResultCell.dateFormat
- Added parameters to
SBUChannelCell buildLastUpdatedDate()
:dateFormat
,timeFormat
- Opened
- Added public classes and interfaces regarding message cells
- Added open/public interfaces in message cells.
- Added
SBUMessageWebView
,SBUMessageWebViewModel
andSBUOpenChannelMessageWebView
- Added
SBUMessageReactionView
- Added
SBUDateFormatSet
- Added
Date.sbu_toString(dateFormat:localizedFormat)
- Changed
Date.lastUpdatedTime
function inData+SBUIKit
access level to public - Fixed not called completion handler on unregister pushToken
v3.0.0-beta.3
- Added channel push settings feature.
- Added
SBUGroupChannelPushSettingsViewController
class. - Added
SBUGroupChannelPushSettingsModule
,SBUGroupChannelPushSettingsModule.Header
and
SBUGroupChannelPushSettingsModule.List
classes. - Added
SBUGroupChannelPushSettingsViewModel
class. - Added
ChannelPushSettings_Header_Title
,ChannelPushSettings_Notification_Title
,ChannelPushSettings_Item_All
,ChannelPushSettings_Item_Mentions_Only
,ChannelPushSettings_Notification_Description
.
- Added
- Added
keyword
toSBUHighlightInfo
- Modify parameter
highlight
tohighlightKeyword
inSBUCommonContentView
- Modified searched message cell display method (highlight -> animation)
- Added mentioned user nickname highlighting.
- Added show mini profile function when touch mentioned nickname.
- Added initialize function in
SBUCreateChannelVC
. - Renamed
SBUStringSet.Channel_Header_Typing
toSBUStringSet.Channel_Typing
- Updated
SBUTheme.channelCell
- Added
succeededStateColor
- Added
deliveryReceiptStateColor
- Added
readReceiptStateColor
- Added
- Added
leftBarButton
toSBUSelectablePhotoViewController
- Added
leftBarButton
- Added
didTapLeftBarButton()
- Added
- Improved stability.