Releases: sendbird/sendbird-uikit-ios
Releases · sendbird/sendbird-uikit-ios
v3.3.2
v2.2.12
v3.3.1
v3.3.1 (Dec 8, 2022)
- Added
isUserIdUsedForNickname
inSBUGlobals
- Improved image compression process
- Improved date formats for past year's format
SBUGroupChannelCell
SBUMessageSearchResultCell
SBUMessageDateView
SBUParentMessageInfoView
- Added formatted date getter functions in Date extension class
lastUpdatedTimeForChannelCell(baseTimestamp:)
lastUpdatedTimeForMessageSearchResultCell(baseTimestamp:)
messageCreatedTimeForParentInfo(baseTimestamp:)
dateSeparatedTime(baseTimestamp:)
- Added static properties in
SBUDateFormatSet
yyyyMMdd
MMMddhhmma
MMMddyyyyhhmma
- Channel
lastUpdatedPastYearFormat
- Message *
dateSeparatorDateFormat
*dateSeparatorPastYearFormat
*dateSeparatorTimeFormat
*dateSeparatorYesterdayFormat
- MessageSearch
lastUpdatedDateFormat
lastUpdatedPastYearFormat
*lastUpdatedTimeFormat
- MessageThread *
sentDateDateFormat
*sentDatePastYearFormat
*sentDateTimeFormat
*sentDateYesterdayFormat
v3.3.0
v3.3.0 (Nov 23, 2022) with Chat SDK v4.1.6
- Improved image caching and gif handling process
- Improved file data handling process
- File name and mime type will set based on original file if possible
- Added classes
SBUMessageThreadModule
SBUMessageThreadModule.Header
,SBUMessageThreadModuleHeaderDelegate
SBUMessageThreadModule.List
,SBUMessageThreadModuleListDelegate
,SBUMessageThreadModuleListDataSource
SBUMessageThreadModule.Input
,SBUMessageThreadModuleInputDelegate
,SBUMessageThreadModuleInputDataSource
SBUThreadInfoView
,SBUThreadInfoViewDelegate
SBUParentMessageInfoReactionView
SBUMessageThreadTitleView
,SBUMessageThreadTitleViewDelegate
SBUMessageThreadViewController
,SBUMessageThreadViewControllerDelegate
SBUParentMessageInfoView
,SBUParentMessageInfoViewDelegate
SBUMessageThreadViewModel
,SBUMessageThreadViewModelDelegate
,SBUMessageThreadViewModelDataSource
- Added module
SBUModuleSet
messageThreadModule
- Added viewController in
SBUViewControllerSet
MessageThreadViewController
- Added properties
useQuotedMessage
,useThreadInfo
,joinedAt
inSBUBaseMessageCellParams
classquotedMessageCreatedAt
,messageCreatedAt
,joinedAt
inSBUQuotedBaseMessageViewParams
classuseQuotedMessage
,useThreadInfo
,threadHStackView
,threadInfoSpacing
,threadInfoView
inSBUContentBaseMessageCell
classemptyViewTopConstraint
inSBUEmptyView
params
property inSBUQuotedBaseMessageView
classsendFileMessageCompletionHandler
,sendUserMessageCompletionHandler
,pendingMessageManager
inSBUBaseChannelViewModel
- Added functions
setupThreadInfoView()
function inSBUContentBaseMessageCell
classupdatePlaceholderText()
function inSBUMessageInputView
classshowMessageThread(channelURL:parentMessageId:parentMessageCreatedAt:startingPoint:)
function inSBUBaseChannelViewController
classupdateTopAnchorConstraint(constant:)
function inSBUEmptyView
classSBUMessageThreadViewControllerDelegate
functions inSBUGroupChannelViewController
classgroupChannelModuleDidTapThreadInfoView(_:)
delegate function inSBUGroupChannelModuleListDelegate
baseChannelModule(_:didTapTitleView:)
delegate function inSBUBaseChannelModuleHeaderDelegate
baseChannelModule(_:pendingMessageManagerForCell:)
datasource function inSBUBaseChannelModuleListDataSource
MessageThread()
class function inSBUDateFormatSet
needsToRemoveMargin()
function inSBUUserMessageTextView
classsetupSendUserMessageCompletionHandlers()
,setupSendFileMessageCompletionHandlers()
functions inSBUOpenChannelViewModel
class
- Added parameters in function
forMessageThread
parameter in functions ofSBUPendingMessageManager
classfileName
andmimeType
parameters inpickImageData
function ofSBUBaseChannelModule.Input
classfileName
andmimeType
parameters indidTapSendImageData
function ofSBUSelectablePhotoViewDelegate
imageSize
parameter inconfigure
function ofSBUMessageProfileView
classremoveMargin
parameter in initialize function ofSBUUserMessageTextView
classisThreadMessage
andjoinedAt
parameters in initialize function ofSBUBaseMessageCellParams
,SBUUserMessageCellParams
,SBUFileMessageCellParams
, andSBUUnknownMessageCellParams
classesjoinedAt
parameter in initialize function ofSBUQuotedBaseMessageViewParams
classjoinedAt
parameter insetupQuotedMessageView
function ofSBUContentBaseMessageCell
classcompletionHandler
parameter inloadChannel
function ofSBUBaseChannelViewModel
class
- Added theme properties
- in
SBUChannelTheme
messageThreadTitleColor
messageThreadTitleFont
messageThreadTitleChannelNameColor
messageThreadTitleChannelNameFont
- in
SBUMessageCellTheme
repliedCountTextColor
repliedCountTextFont
repliedUsersMoreIconBackgroundColor
repliedUsersMoreIconTintColor
parentInfoBackgroundColor
parentInfoUserNameTextFont
parentInfoUserNameTextColor
parentInfoDateFont
parentInfoDateTextColor
parentInfoMoreButtonTintColor
parentInfoSeparateBarColor
parentInfoReplyCountTextColor
parentInfoReplyCountTextFont
- in
- Added strings in
SBUStringSet
Message_Replied_Users_Count: (Int, Bool)
Message_Reply_Cannot_Found_Original
Message_Unavailable
MessageThread.Menu.replyInThread
MessageThread.MessageInput.replyInThread
MessageThread.MessageInput.replyToThread
MessageThread.Header.title
- Added icons in
SBUIconSet
iconEmpty
iconThread
- Added
SBUReplyConfiguration
- Added
thread
type inSBUReplyType
enumeration - Added
SBUThreadReplySelectType
enumeration - Added
dismissHandler
inSBUAlertView
,SBUActionSheet
- Modified
caption3
font weight.medium
to.bold
- Renamed
usingQuotedMessage
touseQuotedMessage
inSBUBaseMessageCellParams
,SBUContentBaseMessageCell
, andSBUQuotedBaseMessageViewParams
classes - Deprecated
SBUGlobals
class
DeprecatedreplyType
property, usereply.replyType
insteadSBUQuotedBaseMessageViewParams
class- Deprecated
init(message:position:usingQuotedMessage:joinedAt:)
function, useinit(message:position:useQuotedMessage:joinedAt:)
instead - Deprecated
init(messageId:messagePosition:quotedMessageNickname:replierNickname:text:usingQuotedMessage:quotedMessageCreatedAt:)
function, useinit(messageId:messagePosition:quotedMessageNickname:replierNickname:text:useQuotedMessage:quotedMessageCreatedAt:)
instead - Deprecated
init(messageId:messagePosition:quotedMessageNickname:replierNickname:name:type:urlString:usingQuotedMessage:quotedMessageCreatedAt:)
function, useinit(messageId:messagePosition:quotedMessageNickname:replierNickname:name:type:urlString:useQuotedMessage:quotedMessageCreatedAt:)
instead
- Deprecated
v3.2.3
v3.2.3 (Nov 11, 2022)
IMPORTANT If you use Swift Package Manager, Please reset package cache before download the current version.
- Opened keyboard events:
keyboardWillShow(_:)
andkeyboardWillHide(_:)
- Updated
navigationBar
shadowColor - Modified the type of class that includes the
UIControl
type object toNSObject
- Improved logic to update the 'startPoint' in the channel
- Improved logic moving to the original message of a quoted message
- Improved channel initialization process.
- Improved stability
v3.2.2
v3.2.2 (Oct 28, 2022) with Chat SDK v4.1.2
- Fixed
scrollToBottom
button flickers when send a message - Improved fileMessage related processing
- Added
messageCellConfiguration
inSBUGlobals
- Modified fonts and colors in
SBUTheme
- Renamed
ChannelListTheme
toSBUGroupChannelListTheme
(alsoSBUTheme.groupChannelListTheme
) - Renamed
ChannelCellTheme
toSBUGroupChannelCellTheme
(alsoSBUTheme.groupChannelCellTheme
) - Renamed
SBUTheme.setChannelList(channelListTheme:channelCellTheme:)
toSBUTheme.setGroupChannelList(channelListTheme:channelCellTheme:)
SBUGroupChannelListTheme
notificationOnTintColor
: light (SBUColorSet.background50
->SBUColorSet.ondark01
)
SBUGroupChannelCellTheme
- Added
fileIconBackgroundColor
,fileIconTintColor
- Added
SBUOpenChannelCellTheme
participantCountFont
: light(SBUColorSet.caption1
->SBUColorSet.caption2
)
SBUChannelTheme
- Added
openChannelOGTitleColor
,buttonBackgroundColor
,buttonTitleColor
,sideButtonIconColor
,newMessageBadgeColor
menuItemDisabledColor
: light(SBUColorSet.ondark04
->SBUColorSet.onlight04
)mentionLimitGuideTextFont
: (SBUFontSet.body1
->SBUFontSet.body3
)quotedMessageBackgroundColor
: light(removed alpha value 0.5)
- Added
SBUMessageCellTheme
- Renamed
unknownMessageDescTextColor
tounknownMessageDescLeftTextColor
- Added
unknownMessageDescRightTextColor
- Renamed
SBUChannelSettingsTheme
userNameFont
(subtitle1 -> h1)urlFont
(body3 -> body1)cellDescriptionTextFont
(subtitle3 -> body3)
SBUCreateOpenChannelTheme
textFieldFont
(body3 -> subtitle1)
- Renamed
- Fixed bcsymbolmap issue for SPM
v2.2.11
v3.2.1
v3.2.1 (Oct 13, 2022) with Chat SDK v4.0.15
- Added
contentMode
parameter tosetImage(withImage:backgroundColor:makeCircle:)
inSBUCoverImageView
- Modified SendbirdUIKit initializer to synchronously
- Deprecated functions in
SBUGroupChannelListViewModel
updateChannels(_:needReload:)
upsertChannels(_:needReload:)
deleteChannels(_:needReload:)
sortChannelList(needReload:)
- Improved stability
v2.2.10
v3.2.0
v3.2.0 (Sep 21, 2022) with Chat SDK v4.0.13
IMPORTANT If you use Swift Package Manager, Please reset package cache before download the current version.
- Support Open channel list features
- Added classes
SBUOpenChannelListViewController
SBUOpenChannelCell
SBUOpenChannelListViewModel
SBUOpenChannelListModule
,SBUOpenChannelListModule.Header
andSBUOpenChannelListModule.List
- Added
OpenChannelListViewController
inSBUViewControllerSet
- Added
openChannelListModule
inSBUModuleSet
- Added
openChannelListTheme
andopenChannelCellTheme
inSBUTheme
- Added
isPullToRefreshEnabled
property inSBUBaseChannelListModule.List
- Added
pullToRefresh(_:)
function inSBUBaseChannelListModule.List
- Added
baseChannelListModuleDidSelectRefresh(_:)
protocol inSBUBaseChannelListModuleListDelegate
- Added
iconChannels
inSBUIconSetType
- Supported openChannelList feature on
moveToChannel
function inSendbirdUI
- Added classes
- Support Create open channel features
- Added classes
SBUCreateOpenChannelViewController
SBUCreateOpenChannelViewModel
SBUCreateOpenChannelModule
,SBUCreateOpenChannelModule.Header
andSBUCreateOpenChannelModule.ProfileInput
- Added
CreateOpenChannelViewController
inSBUViewControllerSet
- Added
createOpenChannelModule
inSBUModuleSet
- Added
createOpenChannelTheme
inSBUTheme
- Added
openChannelParamsCreateBuilder
inSBUGlobalCustomParams
- Added create open channel related Strings in
SBUStringSet
CreateOpenChannel_Create
,CreateOpenChannel_Header_Title
,CreateOpenChannel_ProfileInput_Placeholder
- Added
user
object inSBUUser
for accessing ChatSDK's user
- Added classes
- Added
openChannelModule(_:didTapMediaView:)
inOpenChannelModuleMediaDelegate
method. - Added
UITextField
related classesUITextField+SBUIKit
SBUUnderLineTextField
- Added
tag
parameter inSBUCommonItem
- Added
delete
case inMediaResourceType
- Added
SBUBaseChannelListViewModel
- Added
SBUBaseChannelListModule
,SBUBaseChannelListModule.Header
,SBUBaseChannelListModule.List
classes - Renamed
SBUGroupChannelListModuleListDelegate
functionschannelListModule(_:didSelectRowAt:)
togroupChannelListModule(_:didSelectRowAt:)
channelListModule(_:didDetectPreloadingPosition:)
togroupChannelListModule(_:didDetectPreloadingPosition:)
channelListModule(_:didSelectLeave:)
togroupChannelListModule(_:didSelectLeave:)
channelListModule(_:didChangePushTriggerOption:channel:)
togroupChannelListModule(_:didChangePushTriggerOption:channel:)
channelListModuleDidSelectRetry(_:)
togroupChannelListModuleDidSelectRetry(_:)
- Renamed
SBUGroupChannelListModuleListDataSource
functionchannelListModule(_:channelsInTableView:)
togroupChannelListModule(_:channelsInTableView:)
- Renamed
channelListModule
inSBUModuleSet
togroupChannelListModule
- Renmaed
defaultLeftButton
,defaultRightButton
todefaultLeftBarButton
,defaultRightBarButton
- Replaced
setPlaceholderImage(iconSize:)
tosetPlaceholder(type:iconSize:)
inSBUCoverImageView
- Added
setPlaceholder(type:iconSize:)
- Deprecated
setPlaceholderImage(iconSize:)
- Added