diff --git a/Package.swift b/Package.swift index 535f619..8f81a9e 100644 --- a/Package.swift +++ b/Package.swift @@ -24,7 +24,7 @@ let package = Package( .binaryTarget( name: "SendbirdSwiftUI", url: "https://github.com/sendbird/sendbird-swiftui-ios/releases/download/1.0.0-beta.1/SendbirdSwiftUI.xcframework.zip", - checksum: "180d5cfa23e9a6a5887a1752da6337a8c9f50e19deaf6bf78d71f14d85cf0663" + checksum: "cd882856d77ba496eb313b16eeec35d8c981f49dcac3818194badac4a3960183" ), .target( diff --git a/Sample/QuickStartSwiftUI.xcodeproj/project.pbxproj b/Sample/QuickStartSwiftUI.xcodeproj/project.pbxproj index b069619..96ef7ab 100644 --- a/Sample/QuickStartSwiftUI.xcodeproj/project.pbxproj +++ b/Sample/QuickStartSwiftUI.xcodeproj/project.pbxproj @@ -6295,56 +6295,56 @@ path = List; sourceTree = ""; }; - "TEMP_0C341D73-136A-49CB-A216-98A53F3B138D" /* SubView */ = { + "TEMP_3705E1FC-1BDB-45D5-84B5-52BFDC494EA9" /* SubView */ = { isa = PBXGroup; children = ( ); path = SubView; sourceTree = ""; }; - "TEMP_4B1B69A4-AB15-4A00-BA15-935B9383F41F" /* SubView */ = { + "TEMP_3FBA214E-C4B9-4EA0-B35C-E3EC9B9F2AE8" /* SubView */ = { isa = PBXGroup; children = ( ); path = SubView; sourceTree = ""; }; - "TEMP_802D4E33-5564-4A71-B2FE-0AE1E34D38BB" /* SubView */ = { + "TEMP_47BF45C9-E1D6-4691-BF7D-D8E499DE653E" /* SubView */ = { isa = PBXGroup; children = ( ); path = SubView; sourceTree = ""; }; - "TEMP_BDD8CDA9-590E-407A-94B6-6B8382BE6554" /* SubView */ = { + "TEMP_4A683376-538F-4CD6-8FEF-FBA5E071A274" /* SubView */ = { isa = PBXGroup; children = ( ); path = SubView; sourceTree = ""; }; - "TEMP_C3F46338-6E1E-44A5-9BBF-E04508C01B44" /* SubView */ = { + "TEMP_4BB4B028-14B1-4884-B540-D65223CB49E4" /* SubView */ = { isa = PBXGroup; children = ( ); path = SubView; sourceTree = ""; }; - "TEMP_CCB46433-9BEC-4863-BE9D-89B9BCA29AAA" /* SubView */ = { + "TEMP_74DF3411-7897-4498-B706-251373F04400" /* SubView */ = { isa = PBXGroup; children = ( ); path = SubView; sourceTree = ""; }; - "TEMP_EA96858A-2424-4621-98A0-FA7F9580D51B" /* SubView */ = { + "TEMP_981D7B83-1B32-4EB7-A883-F6E4FCDB761C" /* SubView */ = { isa = PBXGroup; children = ( ); path = SubView; sourceTree = ""; }; - "TEMP_F908E83B-0A6B-4D9F-9C3B-E0D5A1A394CB" /* SubView */ = { + "TEMP_D3C1CDFE-3C33-4152-950B-25F8BD3F4058" /* SubView */ = { isa = PBXGroup; children = ( ); diff --git a/SendbirdSwiftUI.podspec b/SendbirdSwiftUI.podspec index 4965cbe..6b87d2f 100644 --- a/SendbirdSwiftUI.podspec +++ b/SendbirdSwiftUI.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |s| "Kai" => "kai.lee@sendbird.com" } s.platform = :ios, "15.0" - s.source = { :http => "https://github.com/sendbird/sendbird-swiftui-ios/releases/download/#{s.version}/SendbirdSwiftUI.zip", :sha1 => "5f48af9f455c3d1d45b6ada5459a67a899637501" } + s.source = { :http => "https://github.com/sendbird/sendbird-swiftui-ios/releases/download/#{s.version}/SendbirdSwiftUI.zip", :sha1 => "b6615fddbfb97ceec73f837365724f467d28660b" } s.ios.vendored_frameworks = 'SendbirdSwiftUI/SendbirdSwiftUI.xcframework' s.ios.frameworks = ["UIKit", "SwiftUI", "Foundation", "CoreData", "SendbirdChatSDK"] s.requires_arc = true diff --git a/Sources/Enums/SBUEnums.swift b/Sources/Enums/SBUEnums.swift index 1315d3f..0d5bf4f 100644 --- a/Sources/Enums/SBUEnums.swift +++ b/Sources/Enums/SBUEnums.swift @@ -439,7 +439,7 @@ public enum SBUChannelType { // - MARK: Internal -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 enum SBUItemUsageState { case unused case usingDefault(Item) diff --git a/Sources/Extension/UINavigationController+SBUIKit.swift b/Sources/Extension/UINavigationController+SBUIKit.swift index 30c8d11..1663150 100644 --- a/Sources/Extension/UINavigationController+SBUIKit.swift +++ b/Sources/Extension/UINavigationController+SBUIKit.swift @@ -34,7 +34,7 @@ extension UINavigationController { #if SWIFTUI /// Push view controller with hiding navigation bar. Method to hide and show navigationBar in swiftui (ui timing issue) - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public func pushViewControllerNonFlickering( _ viewController: UIHostingController, animated: Bool diff --git a/Sources/Module/Channel/GroupChannel/SBUGroupChannelModule.swift b/Sources/Module/Channel/GroupChannel/SBUGroupChannelModule.swift index a42a3e3..6dc9c49 100644 --- a/Sources/Module/Channel/GroupChannel/SBUGroupChannelModule.swift +++ b/Sources/Module/Channel/GroupChannel/SBUGroupChannelModule.swift @@ -26,76 +26,76 @@ extension SBUGroupChannelModule { // MARK: Header extension SBUGroupChannelModule.Header { /// Represents the type of left bar button on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of right bar button on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of title view on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUChannelTitleView.Type = SBUChannelTitleView.self } // MARK: List extension SBUGroupChannelModule.List { /// Represents the type of empty view on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of admin message cell on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var AdminMessageCell: SBUBaseMessageCell.Type = SBUAdminMessageCell.self /// Represents the type of user message cell on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var UserMessageCell: SBUBaseMessageCell.Type = SBUUserMessageCell.self /// Represents the type of file message cell on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var FileMessageCell: SBUBaseMessageCell.Type = SBUFileMessageCell.self /// Represents the type of multiple files message cell on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var MultipleFilesMessageCell: SBUBaseMessageCell.Type = SBUMultipleFilesMessageCell.self /// Represents the type of typing indicator cell on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TypingIndicatorMessageCell: SBUBaseMessageCell.Type = SBUTypingIndicatorMessageCell.self /// Represents the type of unknown cell on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var UnknownMessageCell: SBUBaseMessageCell.Type = SBUUnknownMessageCell.self /// Represents the type of custom cell on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var CustomMessageCell: SBUBaseMessageCell.Type? /// Represents the type of channel state banner view on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ChannelStateBanner: SBUChannelStateBanner.Type = SBUChannelStateBanner.self /// Represents the type of scroll bottom view on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ScrollBottomView: SBUScrollBottomView.Type = SBUScrollBottomView.self /// Represents the type of message info view on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var NewMessageInfo: SBUNewMessageInfo.Type = SBUNewMessageInfo.self /// Represents the type of profile view on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var UserProfileView: SBUUserProfileView.Type = SBUUserProfileView.self } // MARK: Input extension SBUGroupChannelModule.Input { /// The component property that the message input view. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var MessageInputView: SBUMessageInputView.Type = SBUMessageInputView.self /// The component property that the voice message input view. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var VoiceMessageInputView: SBUVoiceMessageInputView.Type = SBUVoiceMessageInputView.self } diff --git a/Sources/Module/Channel/OpenChannel/SBUOpenChannelModule.Header.swift b/Sources/Module/Channel/OpenChannel/SBUOpenChannelModule.Header.swift index 098aa6d..e0d822e 100644 --- a/Sources/Module/Channel/OpenChannel/SBUOpenChannelModule.Header.swift +++ b/Sources/Module/Channel/OpenChannel/SBUOpenChannelModule.Header.swift @@ -62,7 +62,7 @@ extension SBUOpenChannelModule { } /// A view that represents right bar items in navigation bar. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 /// - NOTE: When the value is updated, `baseChannelModule(_:didUpdateRightItems:)` delegate function is called. override public var rightBarButtons: [UIBarButtonItem]? { get { self.internalRightBarButtons.item ?? nil } diff --git a/Sources/Module/Channel/OpenChannel/SBUOpenChannelModule.swift b/Sources/Module/Channel/OpenChannel/SBUOpenChannelModule.swift index 126c0be..a135c3a 100644 --- a/Sources/Module/Channel/OpenChannel/SBUOpenChannelModule.swift +++ b/Sources/Module/Channel/OpenChannel/SBUOpenChannelModule.swift @@ -29,68 +29,68 @@ extension SBUOpenChannelModule { // MARK: Header extension SBUOpenChannelModule.Header { /// Represents the type of left bar button on the open channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of right bar button on the open channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of title view on the open channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUChannelTitleView.Type = SBUChannelTitleView.self } // MARK: List extension SBUOpenChannelModule.List { /// Represents the type of empty view on the open channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of admin message cell on the open channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var AdminMessageCell: SBUOpenChannelBaseMessageCell.Type = SBUOpenChannelAdminMessageCell.self /// Represents the type of user message cell on the open channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var UserMessageCell: SBUOpenChannelBaseMessageCell.Type = SBUOpenChannelUserMessageCell.self /// Represents the type of file message cell on the open channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var FileMessageCell: SBUOpenChannelBaseMessageCell.Type = SBUOpenChannelFileMessageCell.self /// Represents the type of unknown message cell on the open channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var UnknownMessageCell: SBUOpenChannelBaseMessageCell.Type = SBUOpenChannelUnknownMessageCell.self /// Represents the type of custom message cell on the open channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var CustomMessageCell: SBUOpenChannelBaseMessageCell.Type? /// Represents the type of channel state banner on the open channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ChannelStateBanner: SBUChannelStateBanner.Type = SBUChannelStateBanner.self /// Represents the type of scroll bottom view on the open channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ScrollBottomView: SBUScrollBottomView.Type = SBUScrollBottomView.self /// Represents the type of user profile view on the open channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var UserProfileView: SBUUserProfileView.Type = SBUUserProfileView.self } // MARK: Input extension SBUOpenChannelModule.Input { /// The component property that the message input view. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var MessageInputView: SBUMessageInputView.Type = SBUMessageInputView.self } // MARK: Media extension SBUOpenChannelModule.Media { /// A view to shows media or other contents in the open channel. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var MediaView: SBUMediaView.Type = SBUMediaView.self } diff --git a/Sources/Module/Channel/SBUBaseChannelModule.Header.swift b/Sources/Module/Channel/SBUBaseChannelModule.Header.swift index eaaac72..ca715d8 100644 --- a/Sources/Module/Channel/SBUBaseChannelModule.Header.swift +++ b/Sources/Module/Channel/SBUBaseChannelModule.Header.swift @@ -33,14 +33,14 @@ public protocol SBUBaseChannelModuleHeaderDelegate: SBUCommonDelegate { /// - Parameters: /// - headerComponent: `SBUBaseChannelModule.Header` object /// - rightItem: Updated `leftBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func baseChannelModule(_ headerComponent: SBUBaseChannelModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` value has been updated. /// - Parameters: /// - headerComponent: `SBUBaseChannelModule.Header` object /// - rightItem: Updated `rightBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func baseChannelModule(_ headerComponent: SBUBaseChannelModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]?) /// Called when `titleView` was selected. @@ -116,7 +116,7 @@ extension SBUBaseChannelModule { var internalRightBarButton: SBUItemUsageState = .unused /// A view that represents left bar items in navigation bar. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 /// - NOTE: When the value is updated, `baseChannelModule(_:didUpdateLeftItems:)` delegate function is called. public var leftBarButtons: [UIBarButtonItem]? { didSet { @@ -125,7 +125,7 @@ extension SBUBaseChannelModule { } /// A view that represents right bar items in navigation bar. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 /// - NOTE: When the value is updated, `baseChannelModule(_:didUpdateRightItems:)` delegate function is called. public var rightBarButtons: [UIBarButtonItem]? { didSet { diff --git a/Sources/Module/ChannelList/GroupChannel/SBUGroupChannelListModule.swift b/Sources/Module/ChannelList/GroupChannel/SBUGroupChannelListModule.swift index 2055a70..d102ba9 100644 --- a/Sources/Module/ChannelList/GroupChannel/SBUGroupChannelListModule.swift +++ b/Sources/Module/ChannelList/GroupChannel/SBUGroupChannelListModule.swift @@ -19,33 +19,33 @@ extension SBUGroupChannelListModule { public static var ListComponent: SBUGroupChannelListModule.List.Type = SBUGroupChannelListModule.List.self /// The module component that shows the common of message in the channel. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var CommonComponent: SBUGroupChannelListModule.Common.Type = SBUGroupChannelListModule.Common.self } // MARK: Header extension SBUGroupChannelListModule.Header { /// Represents the type of left bar button on the group channel list module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of right bar button on the group channel list module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of title view on the group channel list module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self } // MARK: List extension SBUGroupChannelListModule.List { /// Represents the type of empty view on the group channel list module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of channel cell on the group channel list module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ChannelCell: SBUBaseChannelCell.Type = SBUGroupChannelCell.self } @@ -59,7 +59,7 @@ extension SBUGroupChannelListModule.Common { /// SBUModuleSet.GroupChannelList.Common.CreateChannelTypeSelector = CustomTypeSelector.self /// ``` /// - Note: To apply the custom type selector, assign your subclass of ``SBUCreateChannelTypeSelector`` to this property. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var CreateChannelTypeSelector: SBUCreateChannelTypeSelector.Type = SBUCreateChannelTypeSelector.self } @@ -67,19 +67,19 @@ extension SBUGroupChannelListModule.Common { extension SBUModuleSet { // Module /// The class that represents the list of the group channel module - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public typealias GroupChannelList = SBUGroupChannelListModule // Components /// The module component that shows the header in the channel. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public typealias Header = SBUGroupChannelListModule.Header /// The module component that shows the list of message in the channel. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public typealias List = SBUGroupChannelListModule.List /// The module component that shows the common view in the channel. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public typealias Common = SBUGroupChannelListModule.Common } diff --git a/Sources/Module/ChannelList/OpenChannel/SBUOpenChannelListModule.swift b/Sources/Module/ChannelList/OpenChannel/SBUOpenChannelListModule.swift index deb8baf..cac1728 100644 --- a/Sources/Module/ChannelList/OpenChannel/SBUOpenChannelListModule.swift +++ b/Sources/Module/ChannelList/OpenChannel/SBUOpenChannelListModule.swift @@ -24,25 +24,25 @@ extension SBUOpenChannelListModule { // MARK: Header extension SBUOpenChannelListModule.Header { /// Represents the type of left bar button on the open channel list module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of right bar button on the open channel list module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of title view on the open channel list module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self } // MARK: List extension SBUOpenChannelListModule.List { /// Represents the type of empty view on the open channel list module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of channel cell on the open channel list module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ChannelCell: SBUBaseChannelCell.Type = SBUOpenChannelCell.self } diff --git a/Sources/Module/ChannelList/SBUBaseChannelListModule.Header.swift b/Sources/Module/ChannelList/SBUBaseChannelListModule.Header.swift index 8fe8e04..4a993d4 100644 --- a/Sources/Module/ChannelList/SBUBaseChannelListModule.Header.swift +++ b/Sources/Module/ChannelList/SBUBaseChannelListModule.Header.swift @@ -33,14 +33,14 @@ public protocol SBUBaseChannelListModuleHeaderDelegate: SBUCommonDelegate { /// - Parameters: /// - headerComponent: `SBUBaseChannelListModule.Header` object /// - leftItems: The updated `leftBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func baseChannelListModule(_ headerComponent: SBUBaseChannelListModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` was updated. /// - Parameters: /// - headerComponent: `SBUBaseChannelListModule.Header` object /// - rightItems: The updated `rightBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func baseChannelListModule(_ headerComponent: SBUBaseChannelListModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]?) /// Called when `leftBarButton` was selected. @@ -106,14 +106,14 @@ extension SBUBaseChannelListModule { /// A view that represents the left `[UIBarButtonItem]` in the navigation bar. /// - NOTE: When the value is updated, `channelListModule(_:didUpdateLeftItems:)` delegate function is called. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var leftBarButtons: [UIBarButtonItem]? { didSet { self.didUpdateLeftItems() } } /// A view that represents the right `[UIBarButtonItem]` in the navigation bar. /// - NOTE: When the value is updated, `channelListModule(_:didUpdateRightItems:)` delegate function is called. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var rightBarButtons: [UIBarButtonItem]? { didSet { self.didUpdateRightItems() } } diff --git a/Sources/Module/ChannelSettings/GroupChannel/SBUGroupChannelSettingsModule.Header.swift b/Sources/Module/ChannelSettings/GroupChannel/SBUGroupChannelSettingsModule.Header.swift index d3f33f5..77f0dbe 100644 --- a/Sources/Module/ChannelSettings/GroupChannel/SBUGroupChannelSettingsModule.Header.swift +++ b/Sources/Module/ChannelSettings/GroupChannel/SBUGroupChannelSettingsModule.Header.swift @@ -34,14 +34,14 @@ public protocol SBUGroupChannelSettingsModuleHeaderDelegate: SBUBaseChannelSetti /// - Parameters: /// - headerComponent: `SBUGroupChannelSettingsModule.Header` object /// - leftItem: Updated `leftBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func groupChannelSettingsModule(_ headerComponent: SBUGroupChannelSettingsModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` was selected. /// - Parameters: /// - headerComponent: `SBUGroupChannelSettingsModule.Header` object /// - rightItem: Updated `rightBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func groupChannelSettingsModule(_ headerComponent: SBUGroupChannelSettingsModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]?) /// Called when `leftBarButton` was selected. diff --git a/Sources/Module/ChannelSettings/GroupChannel/SBUGroupChannelSettingsModule.swift b/Sources/Module/ChannelSettings/GroupChannel/SBUGroupChannelSettingsModule.swift index d01a18f..24e172d 100644 --- a/Sources/Module/ChannelSettings/GroupChannel/SBUGroupChannelSettingsModule.swift +++ b/Sources/Module/ChannelSettings/GroupChannel/SBUGroupChannelSettingsModule.swift @@ -23,15 +23,15 @@ extension SBUGroupChannelSettingsModule { // MARK: Header extension SBUGroupChannelSettingsModule.Header { /// Represents the metatype of left bar button on the group channel settings module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of right bar button on the group channel settings module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view on the group channel settings module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self } @@ -39,10 +39,10 @@ extension SBUGroupChannelSettingsModule.Header { extension SBUGroupChannelSettingsModule.List { /// Represents the metatype of channel info view on the group channel settings module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ChannelInfoView: SBUChannelSettingsChannelInfoView.Type = SBUChannelSettingsChannelInfoView.self /// Represents the metatype of setting cell on the group channel settings module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var SettingCell: SBUGroupChannelSettingCell.Type = SBUGroupChannelSettingCell.self } diff --git a/Sources/Module/ChannelSettings/OpenChannel/SBUOpenChannelSettingsModule.Header.swift b/Sources/Module/ChannelSettings/OpenChannel/SBUOpenChannelSettingsModule.Header.swift index 67d1551..9016fa0 100644 --- a/Sources/Module/ChannelSettings/OpenChannel/SBUOpenChannelSettingsModule.Header.swift +++ b/Sources/Module/ChannelSettings/OpenChannel/SBUOpenChannelSettingsModule.Header.swift @@ -46,14 +46,14 @@ public protocol SBUOpenChannelSettingsModuleHeaderDelegate: SBUBaseChannelSettin /// - Parameters: /// - headerComponent: `SBUOpenChannelSettingsModule.Header` object /// - leftItems: Updated `leftBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func openChannelSettingsModule(_ headerComponent: SBUOpenChannelSettingsModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` was updated. /// - Parameters: /// - headerComponent: `SBUOpenChannelSettingsModule.Header` object /// - rightItems: Updated `rightBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func openChannelSettingsModule(_ headerComponent: SBUOpenChannelSettingsModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]?) } diff --git a/Sources/Module/ChannelSettings/OpenChannel/SBUOpenChannelSettingsModule.swift b/Sources/Module/ChannelSettings/OpenChannel/SBUOpenChannelSettingsModule.swift index 6587289..13a4d0d 100644 --- a/Sources/Module/ChannelSettings/OpenChannel/SBUOpenChannelSettingsModule.swift +++ b/Sources/Module/ChannelSettings/OpenChannel/SBUOpenChannelSettingsModule.swift @@ -23,25 +23,25 @@ extension SBUOpenChannelSettingsModule { // MARK: Header extension SBUOpenChannelSettingsModule.Header { /// Represents the type of left bar button on the open channel settings module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of right bar button on the open channel settings module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of title view on the open channel settings module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self } // MARK: List extension SBUOpenChannelSettingsModule.List { /// Represents the type of channel info view on the open channel settings module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ChannelInfoView: SBUChannelSettingsChannelInfoView.Type = SBUChannelSettingsChannelInfoView.self /// Represents the type of setting cell on the open channel settings module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var SettingCell: SBUOpenChannelSettingCell.Type = SBUOpenChannelSettingCell.self } diff --git a/Sources/Module/ChannelSettings/SBUBaseChannelSettingsModule.Header.swift b/Sources/Module/ChannelSettings/SBUBaseChannelSettingsModule.Header.swift index 4002d05..cedf18d 100644 --- a/Sources/Module/ChannelSettings/SBUBaseChannelSettingsModule.Header.swift +++ b/Sources/Module/ChannelSettings/SBUBaseChannelSettingsModule.Header.swift @@ -61,14 +61,14 @@ extension SBUBaseChannelSettingsModule { /// A view that represents a left `UIBarButtonItem` in navigation bar. /// - NOTE: When the value is updated, `didUpdateRightItem`is called. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var leftBarButtons: [UIBarButtonItem]? { didSet { self.didUpdateLeftItems() } } /// A view that represents a right `UIBarButtonItem` in navigation bar. /// - NOTE: When the value is updated, `didUpdateRightItem`is called. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var rightBarButtons: [UIBarButtonItem]? { didSet { self.didUpdateRightItems() } } diff --git a/Sources/Module/Common/SBUCommonModule.swift b/Sources/Module/Common/SBUCommonModule.swift index 6ca0fc3..0890b85 100644 --- a/Sources/Module/Common/SBUCommonModule.swift +++ b/Sources/Module/Common/SBUCommonModule.swift @@ -15,7 +15,7 @@ open class SBUCommonModule { /// ```swift /// SBUModuleSet.CommonModule.ToastView = SBUToastView.self /// ``` - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ToastView: SBUToastView.Type = SBUToastView.self { didSet { SBUModuleSet.CommonModule.ToastView.resetInstance() } } @@ -24,7 +24,7 @@ open class SBUCommonModule { /// ```swift /// SBUModuleSet.CommonModule.ActionSheet = SBUActionSheet.self /// ``` - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ActionSheet: SBUActionSheet.Type = SBUActionSheet.self { didSet { SBUModuleSet.CommonModule.ActionSheet.resetInstance() } } @@ -33,7 +33,7 @@ open class SBUCommonModule { /// ```swift /// SBUModuleSet.CommonModule.AlertView = SBUAlertView.self /// ``` - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var AlertView: SBUAlertView.Type = SBUAlertView.self { didSet { SBUModuleSet.CommonModule.AlertView.resetInstance() } } @@ -42,7 +42,7 @@ open class SBUCommonModule { /// ```swift /// SBUModuleSet.CommonModule.Loading = SBULoading.self /// ``` - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var Loading: SBULoading.Type = SBULoading.self { didSet { SBUModuleSet.CommonModule.Loading.resetInstance() } } diff --git a/Sources/Module/MessageSearch/SBUMessageSearchModule.Header.swift b/Sources/Module/MessageSearch/SBUMessageSearchModule.Header.swift index 6374662..086c587 100644 --- a/Sources/Module/MessageSearch/SBUMessageSearchModule.Header.swift +++ b/Sources/Module/MessageSearch/SBUMessageSearchModule.Header.swift @@ -237,7 +237,7 @@ extension SBUMessageSearchModule { } /// Cancels the search. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public func cancelSearch() { self.delegate?.messageSearchModuleDidTapCancel(self) } diff --git a/Sources/Module/MessageSearch/SBUMessageSearchModule.swift b/Sources/Module/MessageSearch/SBUMessageSearchModule.swift index 6cadfc8..6163cf6 100644 --- a/Sources/Module/MessageSearch/SBUMessageSearchModule.swift +++ b/Sources/Module/MessageSearch/SBUMessageSearchModule.swift @@ -23,25 +23,25 @@ extension SBUMessageSearchModule { // MARK: Header extension SBUMessageSearchModule.Header { /// Represents the metatype of left bar button in ``SBUMessageSearchModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type? /// Represents the metatype of title view in ``SBUMessageSearchModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUSearchBar.Type = SBUSearchBar.self /// Represents the metatype of right bar button in ``SBUMessageSearchModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self } // MARK: List extension SBUMessageSearchModule.List { /// Represents the type of empty view on the message search module module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of message search result cell on the message search module module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var MessageSearchResultCell: SBUMessageSearchResultCell.Type = SBUMessageSearchResultCell.self } diff --git a/Sources/Module/MessageThread/SBUMessageThreadModule.swift b/Sources/Module/MessageThread/SBUMessageThreadModule.swift index 4cf8dd4..9877570 100644 --- a/Sources/Module/MessageThread/SBUMessageThreadModule.swift +++ b/Sources/Module/MessageThread/SBUMessageThreadModule.swift @@ -27,68 +27,68 @@ extension SBUMessageThreadModule { // MARK: Header extension SBUMessageThreadModule.Header { /// Represents the type of left bar button on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of right bar button on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of title view on the group channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUMessageThreadTitleView.Type = SBUMessageThreadTitleView.self } // MARK: List extension SBUMessageThreadModule.List { /// Represents the type of empty view on the message thread module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of admin message cell on the message thread module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var AdminMessageCell: SBUBaseMessageCell.Type = SBUAdminMessageCell.self /// Represents the type of user message cell on the message thread module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var UserMessageCell: SBUBaseMessageCell.Type = SBUUserMessageCell.self /// Represents the type of file message cell on the message thread module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var FileMessageCell: SBUBaseMessageCell.Type = SBUFileMessageCell.self /// Represents the type of multiple files message cell on the message thread module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var MultipleFilesMessageCell: SBUBaseMessageCell.Type = SBUMultipleFilesMessageCell.self /// Represents the type of unknown message cell on the message thread module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var UnknownMessageCell: SBUBaseMessageCell.Type = SBUUnknownMessageCell.self /// Represents the type of custom message cell on the message thread module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var CustomMessageCell: SBUBaseMessageCell.Type? /// Represents the type of channel state banner on the message thread module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ChannelStateBanner: SBUChannelStateBanner.Type = SBUChannelStateBanner.self /// Represents the type of user profile view on the message thread module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var UserProfileView: SBUUserProfileView.Type = SBUUserProfileView.self /// Represents the type of parent messag info view on the message thread module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ParentMessageInfoView: SBUParentMessageInfoView.Type = SBUParentMessageInfoView.self } // MARK: Input extension SBUMessageThreadModule.Input { /// The component property that the message input view. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var MessageInputView: SBUMessageInputView.Type = SBUMessageInputView.self /// The component property that the voice message input view. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var VoiceMessageInputView: SBUVoiceMessageInputView.Type = SBUVoiceMessageInputView.self } diff --git a/Sources/Module/Moderations/SBUModerationsModule.Header.swift b/Sources/Module/Moderations/SBUModerationsModule.Header.swift index 9bbf47f..f74c21a 100644 --- a/Sources/Module/Moderations/SBUModerationsModule.Header.swift +++ b/Sources/Module/Moderations/SBUModerationsModule.Header.swift @@ -33,14 +33,14 @@ public protocol SBUModerationsModuleHeaderDelegate: SBUCommonDelegate { /// - Parameters: /// - headerComponent: `SBUModerationsModule.Header` object /// - leftItems: Updated `leftBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func moderationsModule(_ headerComponent: SBUModerationsModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` value is updated. /// - Parameters: /// - headerComponent: `SBUModerationsModule.Header` object /// - rightItems: Updated `rightBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func moderationsModule(_ headerComponent: SBUModerationsModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]?) /// Called when `leftBarButton` was selected. @@ -101,14 +101,14 @@ extension SBUModerationsModule { /// A view that represents the left `UIBarButtonItem`s in navigation bar. /// - NOTE: When the value is updated, `moderationsModule(_:didUpdateLeftItem:)` delegate function is called. /// and when the value is tapped, `moderationsModule(_:didTapLeftItems:)` delegate function is called. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var leftBarButtons: [UIBarButtonItem]? { didSet { self.delegate?.moderationsModule(self, didUpdateLeftItems: self.leftBarButtons) } } /// A view that represents the right `UIBarButtonItem`s in navigation bar. /// - NOTE: When the value is updated, `moderationsModule(_:didUpdateRightItems:)` delegate function is called. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var rightBarButtons: [UIBarButtonItem]? { didSet { self.delegate?.moderationsModule(self, didUpdateRightItems: self.rightBarButtons) } } diff --git a/Sources/Module/Moderations/SBUModerationsModule.swift b/Sources/Module/Moderations/SBUModerationsModule.swift index e0c56d8..70a4f05 100644 --- a/Sources/Module/Moderations/SBUModerationsModule.swift +++ b/Sources/Module/Moderations/SBUModerationsModule.swift @@ -23,17 +23,17 @@ extension SBUModerationsModule { // MARK: Header extension SBUModerationsModule.Header { /// Represents the metatype of left bar button in ``SBUModerationsModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view in ``SBUModerationsModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self } // MARK: List extension SBUModerationsModule.List { /// Represents the metatype of moderation cell in moderation module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ModerationCell: SBUModerationCell.Type = SBUModerationCell.self } diff --git a/Sources/Module/NotificationSettings/SBUGroupChannelPushSettingsModule.Header.swift b/Sources/Module/NotificationSettings/SBUGroupChannelPushSettingsModule.Header.swift index fa5fd3f..6eeeefa 100644 --- a/Sources/Module/NotificationSettings/SBUGroupChannelPushSettingsModule.Header.swift +++ b/Sources/Module/NotificationSettings/SBUGroupChannelPushSettingsModule.Header.swift @@ -44,7 +44,7 @@ public protocol SBUGroupChannelPushSettingsModuleHeaderDelegate: SBUCommonDelega /// - Parameters: /// - headerComponent: `SBUGroupChannelPushSettingsModule.Header` object /// - leftItems: Updated `leftBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func groupChannelPushSettingsModule( _ headerComponent: SBUGroupChannelPushSettingsModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]? @@ -54,7 +54,7 @@ public protocol SBUGroupChannelPushSettingsModuleHeaderDelegate: SBUCommonDelega /// - Parameters: /// - headerComponent: `SBUGroupChannelPushSettingsModule.Header` object /// - rightItems: Updated `rightBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func groupChannelPushSettingsModule( _ headerComponent: SBUGroupChannelPushSettingsModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]? @@ -152,7 +152,7 @@ extension SBUGroupChannelPushSettingsModule { /// The default view type is ``[UIBarButtonItem]``. /// - NOTE: When the value is updated, `groupChannelPushSettingsModule(_:didUpdateLeftItems:)` delegate function is called. /// and when the default `leftBarButtons` is tapped, `groupChannelPushSettingsModule(_:didTapLeftItem:)` delegate function is called. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var leftBarButtons: [UIBarButtonItem]? { didSet { self.delegate?.groupChannelPushSettingsModule( @@ -165,7 +165,7 @@ extension SBUGroupChannelPushSettingsModule { /// A view that represents the right `[UIBarButtonItem]` in navigation bar. /// - NOTE: When the value is updated, `groupChannelPushSettingsModule(_:didUpdateRightItems:)` delegate function is called. /// and when the default `rightBarButtons` is tapped, `groupChannelPushSettingsModule(_:didTapRightItem:)` delegate function is called. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var rightBarButtons: [UIBarButtonItem]? { didSet { self.delegate?.groupChannelPushSettingsModule( diff --git a/Sources/Module/NotificationSettings/SBUGroupChannelPushSettingsModule.swift b/Sources/Module/NotificationSettings/SBUGroupChannelPushSettingsModule.swift index 7a45ec6..3704793 100644 --- a/Sources/Module/NotificationSettings/SBUGroupChannelPushSettingsModule.swift +++ b/Sources/Module/NotificationSettings/SBUGroupChannelPushSettingsModule.swift @@ -23,15 +23,15 @@ extension SBUGroupChannelPushSettingsModule { // MARK: Header extension SBUGroupChannelPushSettingsModule.Header { /// Represents the metatype of left bar button on the group channel settings module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of right bar button on the group channel settings module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view on the group channel settings module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self } @@ -39,6 +39,6 @@ extension SBUGroupChannelPushSettingsModule.Header { extension SBUGroupChannelPushSettingsModule.List { /// Represents the metatype of setting cell on the group channel settings module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ChannelPushSettingCell: SBUChannelPushSettingCell.Type = SBUChannelPushSettingCell.self } diff --git a/Sources/Module/SBUModuleSet.swift b/Sources/Module/SBUModuleSet.swift index 1f52f92..2a90130 100644 --- a/Sources/Module/SBUModuleSet.swift +++ b/Sources/Module/SBUModuleSet.swift @@ -188,6 +188,6 @@ extension SBUModuleSet { /// ```swift /// SBUModuleSet.CommonModule = SBUCommonModule.self /// ``` - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var CommonModule: SBUCommonModule.Type = SBUCommonModule.self } diff --git a/Sources/Module/SelectUser/CreateChannel/SBUCreateChannelModule.Header.swift b/Sources/Module/SelectUser/CreateChannel/SBUCreateChannelModule.Header.swift index ec57aab..086b6af 100644 --- a/Sources/Module/SelectUser/CreateChannel/SBUCreateChannelModule.Header.swift +++ b/Sources/Module/SelectUser/CreateChannel/SBUCreateChannelModule.Header.swift @@ -33,14 +33,14 @@ public protocol SBUCreateChannelModuleHeaderDelegate: SBUBaseSelectUserModuleHea /// - Parameters: /// - headerComponent: `SBUCreateChannelModule.Header` object /// - leftItem: Updated `leftBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func createChannelModule(_ headerComponent: SBUCreateChannelModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` was selected. /// - Parameters: /// - headerComponent: `SBUCreateChannelModule.Header` object /// - rightItem: Updated `rightBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func createChannelModule(_ headerComponent: SBUCreateChannelModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]?) /// Called when `leftBarButton` was selected. diff --git a/Sources/Module/SelectUser/CreateChannel/SBUCreateChannelModule.swift b/Sources/Module/SelectUser/CreateChannel/SBUCreateChannelModule.swift index d9d714e..26277f8 100644 --- a/Sources/Module/SelectUser/CreateChannel/SBUCreateChannelModule.swift +++ b/Sources/Module/SelectUser/CreateChannel/SBUCreateChannelModule.swift @@ -23,25 +23,25 @@ extension SBUCreateChannelModule { // MARK: Header extension SBUCreateChannelModule.Header { /// Represents the metatype of left bar button in ``SBUCreateChannelModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view in ``SBUCreateChannelModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self /// Represents the metatype of right bar button in ``SBUCreateChannelModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self } // MARK: List extension SBUCreateChannelModule.List { /// Represents the type of empty view on the create channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of user cell on the create channel module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var UserCell: SBUUserCell.Type = SBUUserCell.self } diff --git a/Sources/Module/SelectUser/CreateChannel/SBUCreateOpenChannelModule.Header.swift b/Sources/Module/SelectUser/CreateChannel/SBUCreateOpenChannelModule.Header.swift index 469cc42..8d7a5ff 100644 --- a/Sources/Module/SelectUser/CreateChannel/SBUCreateOpenChannelModule.Header.swift +++ b/Sources/Module/SelectUser/CreateChannel/SBUCreateOpenChannelModule.Header.swift @@ -33,14 +33,14 @@ public protocol SBUCreateOpenChannelModuleHeaderDelegate: SBUCommonDelegate { /// - Parameters: /// - headerComponent: `SBUCreateOpenChannelModule.Header` object /// - leftItems: Updated `leftBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func createOpenChannelModule(_ headerComponent: SBUCreateOpenChannelModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButton` was selected. /// - Parameters: /// - headerComponent: `SBUCreateOpenChannelModule.Header` object /// - rightItems: Updated `rightBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func createOpenChannelModule(_ headerComponent: SBUCreateOpenChannelModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]?) /// Called when `leftBarButton` was selected. @@ -107,14 +107,14 @@ extension SBUCreateOpenChannelModule { /// A view that represents the left `UIBarButtonItem`s in navigation bar. /// - NOTE: When the value is updated, `createOpenChannelModule(_:didUpdateLeftItems:)` delegate function is called. /// and when the value is tapped, `createOpenChannelModule(_:didTapLeftItems:)` delegate function is called. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var leftBarButtons: [UIBarButtonItem]? { didSet { self.delegate?.createOpenChannelModule(self, didUpdateLeftItems: self.leftBarButtons) } } /// A view that represents the right `UIBarButtonItem`s in navigation bar. /// - NOTE: When the value is updated, `createOpenChannelModule(_:didUpdateRightItems:)` delegate function is called. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var rightBarButtons: [UIBarButtonItem]? { didSet { self.delegate?.createOpenChannelModule(self, didUpdateRightItems: self.rightBarButtons) } } diff --git a/Sources/Module/SelectUser/CreateChannel/SBUCreateOpenChannelModule.swift b/Sources/Module/SelectUser/CreateChannel/SBUCreateOpenChannelModule.swift index 18c91ae..7c5be6d 100644 --- a/Sources/Module/SelectUser/CreateChannel/SBUCreateOpenChannelModule.swift +++ b/Sources/Module/SelectUser/CreateChannel/SBUCreateOpenChannelModule.swift @@ -23,25 +23,25 @@ extension SBUCreateOpenChannelModule { // MARK: Header extension SBUCreateOpenChannelModule.Header { /// Represents the metatype of left bar button in ``SBUCreateOpenChannelModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view in ``SBUCreateOpenChannelModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self /// Represents the metatype of right bar button in ``SBUCreateOpenChannelModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self } // MARK: List extension SBUCreateOpenChannelModule.ProfileInput { /// The view that displays the channel image in Create channel. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ChannelImageView: SBUCoverImageView.Type = SBUCoverImageView.self /// The view that displays the channel name inputField in Create channel. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ChannelNameInputField: SBUUnderLineTextField.Type = SBUUnderLineTextField.self } diff --git a/Sources/Module/SelectUser/InviteUser/SBUInviteUserModule.Header.swift b/Sources/Module/SelectUser/InviteUser/SBUInviteUserModule.Header.swift index 76445fa..e7d3930 100644 --- a/Sources/Module/SelectUser/InviteUser/SBUInviteUserModule.Header.swift +++ b/Sources/Module/SelectUser/InviteUser/SBUInviteUserModule.Header.swift @@ -32,14 +32,14 @@ public protocol SBUInviteUserModuleHeaderDelegate: SBUBaseSelectUserModuleHeader /// - Parameters: /// - headerComponent: `SBUInviteUserModule.Header` object /// - leftItem: Updated `leftBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func inviteUserModule(_ headerComponent: SBUInviteUserModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` was selected. /// - Parameters: /// - headerComponent: `SBUInviteUserModule.Header` object /// - rightItem: Updated `rightBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func inviteUserModule(_ headerComponent: SBUInviteUserModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]?) /// Called when `leftBarButton` was selected. diff --git a/Sources/Module/SelectUser/InviteUser/SBUInviteUserModule.swift b/Sources/Module/SelectUser/InviteUser/SBUInviteUserModule.swift index 22ee676..10434b3 100644 --- a/Sources/Module/SelectUser/InviteUser/SBUInviteUserModule.swift +++ b/Sources/Module/SelectUser/InviteUser/SBUInviteUserModule.swift @@ -23,15 +23,15 @@ extension SBUInviteUserModule { // MARK: Header extension SBUInviteUserModule.Header { /// Represents the metatype of left bar button in ``SBUInviteUserModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view in ``SBUInviteUserModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self /// Represents the metatype of right bar button in ``SBUInviteUserModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self } @@ -39,10 +39,10 @@ extension SBUInviteUserModule.Header { extension SBUInviteUserModule.List { /// Represents the type of empty view on the invite user module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of user cell on the invite user module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var UserCell: SBUUserCell.Type = SBUUserCell.self } diff --git a/Sources/Module/SelectUser/RegisterOperator/SBURegisterOperatorModule.Header.swift b/Sources/Module/SelectUser/RegisterOperator/SBURegisterOperatorModule.Header.swift index 489b77d..d7a4123 100644 --- a/Sources/Module/SelectUser/RegisterOperator/SBURegisterOperatorModule.Header.swift +++ b/Sources/Module/SelectUser/RegisterOperator/SBURegisterOperatorModule.Header.swift @@ -32,14 +32,14 @@ public protocol SBURegisterOperatorModuleHeaderDelegate: SBUBaseSelectUserModule /// - Parameters: /// - headerComponent: `SBURegisterOperatorModule.Header` object /// - leftItems: Updated `leftBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func registerOperatorModule(_ headerComponent: SBURegisterOperatorModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` was selected. /// - Parameters: /// - headerComponent: `SBURegisterOperatorModule.Header` object /// - rightItems: Updated `rightBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func registerOperatorModule(_ headerComponent: SBURegisterOperatorModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]?) /// Called when `leftBarButton` was selected. diff --git a/Sources/Module/SelectUser/RegisterOperator/SBURegisterOperatorModule.swift b/Sources/Module/SelectUser/RegisterOperator/SBURegisterOperatorModule.swift index 43b12ff..4048e81 100644 --- a/Sources/Module/SelectUser/RegisterOperator/SBURegisterOperatorModule.swift +++ b/Sources/Module/SelectUser/RegisterOperator/SBURegisterOperatorModule.swift @@ -23,25 +23,25 @@ extension SBURegisterOperatorModule { // MARK: Header extension SBURegisterOperatorModule.Header { /// Represents the metatype of left bar button in ``SBURegisterOperatorModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view in ``SBURegisterOperatorModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self /// Represents the metatype of right bar button in ``SBURegisterOperatorModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self } // MARK: List extension SBURegisterOperatorModule.List { /// Represents the type of empty view on the register operator module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of user cell on the register operator module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var UserCell: SBUUserCell.Type = SBUUserCell.self } diff --git a/Sources/Module/SelectUser/SBUBaseSelectUserModule.Header.swift b/Sources/Module/SelectUser/SBUBaseSelectUserModule.Header.swift index e71fa9a..5367de8 100644 --- a/Sources/Module/SelectUser/SBUBaseSelectUserModule.Header.swift +++ b/Sources/Module/SelectUser/SBUBaseSelectUserModule.Header.swift @@ -173,10 +173,10 @@ extension SBUBaseSelectUserModule { /// Called when the `rightBarButton` was updated. func didUpdateRightItem() { } /// Called when the `leftBarButtons` was updated. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func didUpdateLeftItems() { } /// Called when the `rightBarButtons` was updated. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func didUpdateRightItems() { } // MARK: - Actions diff --git a/Sources/Module/UserList/SBUUserListModule.Header.swift b/Sources/Module/UserList/SBUUserListModule.Header.swift index cd35733..48b6b35 100644 --- a/Sources/Module/UserList/SBUUserListModule.Header.swift +++ b/Sources/Module/UserList/SBUUserListModule.Header.swift @@ -33,14 +33,14 @@ public protocol SBUUserListModuleHeaderDelegate: SBUCommonDelegate { /// - Parameters: /// - headerComponent: `SBUUserListModule.Header` object /// - leftItems: Updated `leftBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func userListModule(_ headerComponent: SBUUserListModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` was updated. /// - Parameters: /// - headerComponent: `SBUUserListModule.Header` object /// - rightItems: Updated `rightBarButtons` object. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 func userListModule(_ headerComponent: SBUUserListModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]?) /// Called when `leftBarButton` was selected. @@ -109,7 +109,7 @@ extension SBUUserListModule { /// A view that represents a left `UIBarButtonItem` in navigation bar. /// - NOTE: When the value is updated, `userListModule(_:didUpdateLeftItems:)` delegate function is called. /// and when the value is tapped, `userListModule(_:didTapLeftItem:)` delegate function is called. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var leftBarButtons: [UIBarButtonItem]? { didSet { self.delegate?.userListModule(self, didUpdateLeftItems: self.leftBarButtons) } } @@ -117,7 +117,7 @@ extension SBUUserListModule { /// A view that represents a right `UIBarButtonItem` in navigation bar. /// - NOTE: When the value is updated, `userListModule(_:didUpdateRightItems:)` delegate function is called. /// and when the value is tapped, `userListModule(_:didTapRightItem:)` delegate function is called. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var rightBarButtons: [UIBarButtonItem]? { didSet { self.delegate?.userListModule(self, didUpdateRightItems: self.rightBarButtons) } } diff --git a/Sources/Module/UserList/SBUUserListModule.swift b/Sources/Module/UserList/SBUUserListModule.swift index 0b2fd1b..09bc2e9 100644 --- a/Sources/Module/UserList/SBUUserListModule.swift +++ b/Sources/Module/UserList/SBUUserListModule.swift @@ -23,25 +23,25 @@ extension SBUUserListModule { // MARK: Header extension SBUUserListModule.Header { /// Represents the metatype of left bar button in ``SBUUserListModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view in ``SBUUserListModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self /// Represents the metatype of right bar button in ``SBUUserListModule.Header``. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self } // MARK: List extension SBUUserListModule.List { /// Represents the type of empty view on the user list module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of user cell on the user list module. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var UserCell: SBUUserCell.Type = SBUUserCell.self } diff --git a/Sources/Theme/SBUColorSet.swift b/Sources/Theme/SBUColorSet.swift index 584bd59..f08d93a 100644 --- a/Sources/Theme/SBUColorSet.swift +++ b/Sources/Theme/SBUColorSet.swift @@ -72,7 +72,7 @@ public class SBUColorSet { extension SBUColorSet { /// Restore the default colors. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static func restoreDefaultColors() { SBUColorSet.primaryExtraLight = UIColor(red: 219.0 / 255.0, green: 209.0 / 255.0, blue: 1.0, alpha: 1.0) SBUColorSet.primaryLight = UIColor(red: 194.0 / 255.0, green: 169.0 / 255.0, blue: 250.0 / 255.0, alpha: 1.0) diff --git a/Sources/Theme/SBUFontSet.swift b/Sources/Theme/SBUFontSet.swift index 73e20ac..7e5b83a 100644 --- a/Sources/Theme/SBUFontSet.swift +++ b/Sources/Theme/SBUFontSet.swift @@ -291,7 +291,7 @@ extension SBUFontSet { extension SBUFontSet { /// Restore default fonts - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static func restoreDefaultFonts() { SBUFontSet.h1 = UIFont.systemFont(ofSize: 18.0, weight: .bold) SBUFontSet.h2 = UIFont.systemFont(ofSize: 18.0, weight: .medium) diff --git a/Sources/View/Channel/ChannelStateBanner/SBUChannelStateBanner.swift b/Sources/View/Channel/ChannelStateBanner/SBUChannelStateBanner.swift index 09352a9..f82cc39 100644 --- a/Sources/View/Channel/ChannelStateBanner/SBUChannelStateBanner.swift +++ b/Sources/View/Channel/ChannelStateBanner/SBUChannelStateBanner.swift @@ -10,7 +10,7 @@ import UIKit import SwiftUI /// Banner to show channel state -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 open class SBUChannelStateBanner: SBULabel { var isThreadMessage: Bool = false diff --git a/Sources/View/Channel/Media/SBUMediaView.swift b/Sources/View/Channel/Media/SBUMediaView.swift index 41e18d4..f5a3fed 100644 --- a/Sources/View/Channel/Media/SBUMediaView.swift +++ b/Sources/View/Channel/Media/SBUMediaView.swift @@ -9,7 +9,7 @@ import UIKit /// A view to shows media or other contents in the open channel. -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 open class SBUMediaView: SBUView { public required override init() { super.init(frame: .zero) diff --git a/Sources/View/Channel/MessageCell/MessageCellParams/SBUBaseMessageCellParams.swift b/Sources/View/Channel/MessageCell/MessageCellParams/SBUBaseMessageCellParams.swift index ccfecb4..ec35019 100644 --- a/Sources/View/Channel/MessageCell/MessageCellParams/SBUBaseMessageCellParams.swift +++ b/Sources/View/Channel/MessageCell/MessageCellParams/SBUBaseMessageCellParams.swift @@ -50,7 +50,7 @@ public class SBUBaseMessageCellParams { /// - Since: 3.15.0 public var shouldHideFeedback: Bool = true - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 var isThreadMessage: Bool = false /** diff --git a/Sources/View/Channel/MessageInput/SBUMessageInputView.swift b/Sources/View/Channel/MessageInput/SBUMessageInputView.swift index 6f55f44..e412810 100644 --- a/Sources/View/Channel/MessageInput/SBUMessageInputView.swift +++ b/Sources/View/Channel/MessageInput/SBUMessageInputView.swift @@ -1042,7 +1042,7 @@ open class SBUMessageInputView: SBUView, SBUActionSheetDelegate, UITextViewDeleg return Self.generateResourceItems(channelType: self.channelType) } - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 static func generateResourceItems(channelType: ChannelType) -> [SBUActionSheetItem] { var items: [SBUActionSheetItem] = [] var inputConfig: SBUConfig.BaseInput? diff --git a/Sources/View/Channel/Reaction/SBUEmojiListViewController.swift b/Sources/View/Channel/Reaction/SBUEmojiListViewController.swift index 42d6268..af1d652 100644 --- a/Sources/View/Channel/Reaction/SBUEmojiListViewController.swift +++ b/Sources/View/Channel/Reaction/SBUEmojiListViewController.swift @@ -13,7 +13,7 @@ import SendbirdChatSDK /// /// This class is responsible for managing and displaying a collection of emojis. It handles user interactions with the emojis and communicates with the bottom sheet controller. /// -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 open class SBUEmojiListViewController: SBUBaseViewController, UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, SBUBottomSheetControllerDelegate, UIGestureRecognizerDelegate { public private(set) lazy var collectionView = UICollectionView(frame: self.view.bounds, collectionViewLayout: layout) @@ -41,7 +41,7 @@ open class SBUEmojiListViewController: SBUBaseViewController, UICollectionViewDe /// - Parameters: /// - emojiKey: The key of the tapped emoji. /// - setSelect: A boolean indicating whether the emoji should be selected. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var emojiTapHandler: ((_ emojiKey: String, _ setSelect: Bool) -> Void)? // MARK: - Lifecycle @@ -153,7 +153,7 @@ open class SBUEmojiListViewController: SBUBaseViewController, UICollectionViewDe /// Calculates the height of the collection view content based on the number of emojis. /// /// - Returns: The total height required to display all emojis in the collection view. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 open func calculateCollectionViewContentHeight() -> CGFloat { let lineCount = CGFloat((emojiList.count + maxEmojiOneLine - 1) / maxEmojiOneLine) return lineCount * layout.itemSize.height @@ -232,7 +232,7 @@ open class SBUEmojiListViewController: SBUBaseViewController, UICollectionViewDe // MARK: - SBUBottomSheetControllerDelegate /// This function is called when the bottom sheet moves to a specific position. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 open func bottomSheet(moveTo position: SBUBottomSheetSnapPoint) { switch position { case .top: diff --git a/Sources/View/Channel/Reaction/SBUReactionsViewController.swift b/Sources/View/Channel/Reaction/SBUReactionsViewController.swift index 0b42e36..2e34e03 100644 --- a/Sources/View/Channel/Reaction/SBUReactionsViewController.swift +++ b/Sources/View/Channel/Reaction/SBUReactionsViewController.swift @@ -215,7 +215,7 @@ open class SBUReactionsViewController: SBUBaseViewController, UITableViewDelegat // MARK: - Common /// Retrieves the index path for the currently selected reaction, if any. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public func getSelectedIndexPath() -> IndexPath? { guard let selectedReaction = self.selectedReaction else { return nil } @@ -227,7 +227,7 @@ open class SBUReactionsViewController: SBUBaseViewController, UITableViewDelegat } /// This function retrieves the size of the cell based on the number of reactions. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public func getCellSize(count: Int) -> CGSize { switch count { case 0...9: @@ -240,7 +240,7 @@ open class SBUReactionsViewController: SBUBaseViewController, UITableViewDelegat } /// This function retrieves the user for the specified index path. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public func getUser(with indexPath: IndexPath) -> SBUUser? { guard let selectedReaction = self.selectedReaction, indexPath.row < selectedReaction.userIds.count else { return nil } @@ -351,7 +351,7 @@ open class SBUReactionsViewController: SBUBaseViewController, UITableViewDelegat // MARK: - SBUBottomSheetControllerDelegate /// This function is called when the bottom sheet moves to a specific position. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 open func bottomSheet(moveTo position: SBUBottomSheetSnapPoint) { switch position { case .top: diff --git a/Sources/View/Channel/SBUBaseChannelViewController.swift b/Sources/View/Channel/SBUBaseChannelViewController.swift index e628511..44346c8 100644 --- a/Sources/View/Channel/SBUBaseChannelViewController.swift +++ b/Sources/View/Channel/SBUBaseChannelViewController.swift @@ -780,12 +780,12 @@ open class SBUBaseChannelViewController: SBUBaseViewController, SBUBaseChannelVi } } - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public func baseChannelModule(_ headerComponent: SBUBaseChannelModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) { self.navigationItem.leftBarButtonItems = leftItems } - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public func baseChannelModule(_ headerComponent: SBUBaseChannelModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]?) { if useRightBarButtonItem { self.navigationItem.rightBarButtonItems = rightItems diff --git a/Sources/View/Channel/ScrollBottomView/SBUScrollBottomView.swift b/Sources/View/Channel/ScrollBottomView/SBUScrollBottomView.swift index ce4084a..01505c7 100644 --- a/Sources/View/Channel/ScrollBottomView/SBUScrollBottomView.swift +++ b/Sources/View/Channel/ScrollBottomView/SBUScrollBottomView.swift @@ -10,7 +10,7 @@ import UIKit import SendbirdChatSDK /// ScrollBottomView used in the channel -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 open class SBUScrollBottomView: SBUView { var channelType: ChannelType = .group diff --git a/Sources/View/ChannelList/SBUGroupChannelListViewController.swift b/Sources/View/ChannelList/SBUGroupChannelListViewController.swift index 28271fe..359be87 100644 --- a/Sources/View/ChannelList/SBUGroupChannelListViewController.swift +++ b/Sources/View/ChannelList/SBUGroupChannelListViewController.swift @@ -318,7 +318,7 @@ open class SBUGroupChannelListViewController: SBUBaseChannelListViewController, self.navigationItem.rightBarButtonItem = rightItem } - /// [NEXT_VERSION] + /// 3.26.0 open func baseChannelListModule( _ headerComponent: SBUBaseChannelListModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]? @@ -326,7 +326,7 @@ open class SBUGroupChannelListViewController: SBUBaseChannelListViewController, self.navigationItem.leftBarButtonItems = leftItems } - /// [NEXT_VERSION] + /// 3.26.0 open func baseChannelListModule( _ headerComponent: SBUBaseChannelListModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]? diff --git a/Sources/View/ChannelList/SBUOpenChannelListViewController.swift b/Sources/View/ChannelList/SBUOpenChannelListViewController.swift index 3632628..979d809 100644 --- a/Sources/View/ChannelList/SBUOpenChannelListViewController.swift +++ b/Sources/View/ChannelList/SBUOpenChannelListViewController.swift @@ -229,7 +229,7 @@ open class SBUOpenChannelListViewController: SBUBaseChannelListViewController, S self.navigationItem.rightBarButtonItem = rightItem } - /// [NEXT_VERSION] + /// 3.26.0 open func baseChannelListModule( _ headerComponent: SBUBaseChannelListModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]? @@ -237,7 +237,7 @@ open class SBUOpenChannelListViewController: SBUBaseChannelListViewController, S self.navigationItem.leftBarButtonItems = leftItems } - /// [NEXT_VERSION] + /// 3.26.0 open func baseChannelListModule( _ headerComponent: SBUBaseChannelListModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]? diff --git a/Sources/View/ChannelSettings/Cell/SBUModerationCell.swift b/Sources/View/ChannelSettings/Cell/SBUModerationCell.swift index 3fae9e9..f1ef730 100644 --- a/Sources/View/ChannelSettings/Cell/SBUModerationCell.swift +++ b/Sources/View/ChannelSettings/Cell/SBUModerationCell.swift @@ -10,7 +10,7 @@ import UIKit import SendbirdChatSDK /// ModerationCell class that inherits from BaseChannelSettingCell -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 open class SBUModerationCell: SBUBaseChannelSettingCell { /// This function configure a cell using moderation list information. /// - Parameter channel: channel object diff --git a/Sources/View/ChannelSettings/View/SBUChannelSettingsChannelInfoView.swift b/Sources/View/ChannelSettings/View/SBUChannelSettingsChannelInfoView.swift index 3a13400..dd5de99 100644 --- a/Sources/View/ChannelSettings/View/SBUChannelSettingsChannelInfoView.swift +++ b/Sources/View/ChannelSettings/View/SBUChannelSettingsChannelInfoView.swift @@ -10,7 +10,7 @@ import UIKit import SendbirdChatSDK /// Info view used in channel setting -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 open class SBUChannelSettingsChannelInfoView: SBUView { public lazy var stackView = UIStackView() public lazy var coverImage = SBUCoverImageView() diff --git a/Sources/View/Common/ActionSheet/SBUActionSheet.Item.swift b/Sources/View/Common/ActionSheet/SBUActionSheet.Item.swift index 74d7267..3434394 100644 --- a/Sources/View/Common/ActionSheet/SBUActionSheet.Item.swift +++ b/Sources/View/Common/ActionSheet/SBUActionSheet.Item.swift @@ -11,11 +11,11 @@ import UIKit /// This class represents an item in an action sheet. public class SBUActionSheetItem: SBUCommonItem { /// The completion handler of the action sheet item. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var completionHandler: SBUActionSheetHandler? /// This property indicates whether the text alignment is set. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var isTextAlignmentSet = false /// initializer diff --git a/Sources/View/Common/AlertView/SBUAlertView.Item.swift b/Sources/View/Common/AlertView/SBUAlertView.Item.swift index 4c39bcd..c422a46 100644 --- a/Sources/View/Common/AlertView/SBUAlertView.Item.swift +++ b/Sources/View/Common/AlertView/SBUAlertView.Item.swift @@ -11,15 +11,15 @@ import UIKit /// `SBUAlertButtonItem` is a class that represents an alert button item. public class SBUAlertButtonItem { /// The completion handler type for the alert button. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var title: String /// The title color of the alert button. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var color: UIColor? /// The completion handler of the alert button. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var completionHandler: SBUAlertButtonHandler? /// This function initializes alert button item. diff --git a/Sources/View/Common/AlertView/SBUAlertView.swift b/Sources/View/Common/AlertView/SBUAlertView.swift index ed7bfe9..658809d 100644 --- a/Sources/View/Common/AlertView/SBUAlertView.swift +++ b/Sources/View/Common/AlertView/SBUAlertView.swift @@ -9,11 +9,11 @@ import UIKit /// This typealias is used for handling alert button actions. It takes an optional parameter of type `Any`. -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 public typealias SBUAlertButtonHandler = (_ info: Any?) -> Void /// This typealias is used for handling alert button actions. It takes an optional parameter of type `Any`. -@available(*, deprecated, renamed: "SBUAlertButtonHandler") // [NEXT_VERSION] +@available(*, deprecated, renamed: "SBUAlertButtonHandler") // 3.26.0 public typealias AlertButtonHandler = SBUAlertButtonHandler /// SBUAlertViewDelegate is a delegate that defines methods for handling alert view events. @@ -353,7 +353,7 @@ extension SBUAlertView { // MARK: Button action /// This function is called when the button is clicked. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 @objc public func onClickAlertButton(sender: UIButton) { let index = sender.tag @@ -604,7 +604,7 @@ extension SBUAlertView { // MARK: Create items /// This function creates a title label. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 private func createTitleLabel() -> UILabel { let label = UILabel(frame: CGRect( origin: CGPoint( @@ -618,7 +618,7 @@ extension SBUAlertView { } /// This function creates a message label. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 private func createMessageLabel(originY: CGFloat) -> UILabel? { guard self.message != nil else { return nil } @@ -634,7 +634,7 @@ extension SBUAlertView { } /// This function creates a inputFiled. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 private func createInputField(originY: CGFloat) -> UITextField? { if self.needInputField { let textField = UITextField() @@ -658,7 +658,7 @@ extension SBUAlertView { } /// This function creates a separator. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 private func createSeparator(originY: CGFloat) -> UIView { let view = UIView(frame: CGRect( origin: CGPoint(x: 0, y: originY-0.5), @@ -668,7 +668,7 @@ extension SBUAlertView { } /// This function creates a cancel button. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 private func createCancelButton( originY: CGFloat, buttonOriginX: CGFloat = 0.0 @@ -700,7 +700,7 @@ extension SBUAlertView { } /// This function creates a confirm button. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 private func createConfirmButton( originY: CGFloat, buttonOriginX: CGFloat = 0.0 diff --git a/Sources/View/Common/Menu/SBUBottomSheetController.swift b/Sources/View/Common/Menu/SBUBottomSheetController.swift index e260a6d..c71c903 100644 --- a/Sources/View/Common/Menu/SBUBottomSheetController.swift +++ b/Sources/View/Common/Menu/SBUBottomSheetController.swift @@ -9,7 +9,7 @@ import UIKit /// Represents the snap points for the bottom sheet. -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 public enum SBUBottomSheetSnapPoint { /// The top position of the bottom sheet. case top @@ -24,7 +24,7 @@ public protocol SBUBottomSheetControllerDelegate: AnyObject { } /// A controller that manages the presentation of a bottom sheet. -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 public class SBUBottomSheetController: UIPresentationController { /// The delegate that receives updates on the bottom sheet's position. diff --git a/Sources/View/Common/Menu/SBUMenuCell.swift b/Sources/View/Common/Menu/SBUMenuCell.swift index 9adef03..d04fdf1 100644 --- a/Sources/View/Common/Menu/SBUMenuCell.swift +++ b/Sources/View/Common/Menu/SBUMenuCell.swift @@ -9,7 +9,7 @@ import UIKit /// This menu cell used in the MenuSheetViewController is the menu cell -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 open class SBUMenuCell: SBUTableViewCell { public lazy var containerView = { SBUStackView.init(axis: .horizontal, alignment: .fill, spacing: 30) diff --git a/Sources/View/Common/SBUBarButtonItem.swift b/Sources/View/Common/SBUBarButtonItem.swift index 68d9591..f6f602b 100644 --- a/Sources/View/Common/SBUBarButtonItem.swift +++ b/Sources/View/Common/SBUBarButtonItem.swift @@ -9,7 +9,7 @@ import UIKit /// A class that displays an bar button item in SendbirdUIKit. -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 open class SBUBarButtonItem: UIBarButtonItem { required public init?(coder: NSCoder) { super.init(coder: coder) diff --git a/Sources/View/Common/SBUCommonViewControllerSet.swift b/Sources/View/Common/SBUCommonViewControllerSet.swift index 7b9bc22..3241b52 100644 --- a/Sources/View/Common/SBUCommonViewControllerSet.swift +++ b/Sources/View/Common/SBUCommonViewControllerSet.swift @@ -21,18 +21,18 @@ public class SBUCommonViewControllerSet { // MOD TODO: Need to add CustomViewController sample /// The view controller that shows the selected accessible photos and videos. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var SelectablePhotoViewController: SBUSelectablePhotoViewController.Type = SBUSelectablePhotoViewController.self /// The view controller that shows the message menu sheet. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var MenuSheetViewController: SBUMenuSheetViewController.Type = SBUMenuSheetViewController.self /// The view controller that shows the reactions. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var ReactionsViewController: SBUReactionsViewController.Type = SBUReactionsViewController.self /// The view controller that shows the emojis. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public static var EmojiListViewController: SBUEmojiListViewController.Type = SBUEmojiListViewController.self } diff --git a/Sources/View/Common/SBUSearchBar.swift b/Sources/View/Common/SBUSearchBar.swift index 95be525..fdb0f8a 100644 --- a/Sources/View/Common/SBUSearchBar.swift +++ b/Sources/View/Common/SBUSearchBar.swift @@ -9,7 +9,7 @@ import UIKit /// A class that displays a search bar in SendbirdUIKit. -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 open class SBUSearchBar: UISearchBar, SBUViewLifeCycle { var theme: SBUMessageSearchTheme? diff --git a/Sources/View/Common/SBUUnderLineTextField.swift b/Sources/View/Common/SBUUnderLineTextField.swift index 1c99ba8..3bfd4b0 100644 --- a/Sources/View/Common/SBUUnderLineTextField.swift +++ b/Sources/View/Common/SBUUnderLineTextField.swift @@ -12,7 +12,7 @@ open class SBUUnderLineTextField: UITextField { // MARK: - UI (Public) /// A layer that represents the border of the text field. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public let border = CALayer() // MARK: - Life cycle diff --git a/Sources/View/Common/Toast/SBUToastView.Item.swift b/Sources/View/Common/Toast/SBUToastView.Item.swift index 8135a9d..8a89521 100644 --- a/Sources/View/Common/Toast/SBUToastView.Item.swift +++ b/Sources/View/Common/Toast/SBUToastView.Item.swift @@ -12,15 +12,15 @@ import UIKit /// - Since: 3.15.0 public class SBUToastViewItem: SBUCommonItem { /// The position of the toast view. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var position: Position /// The duration of the toast view. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var duration: Double /// The completion handler of the toast view. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public var completionHandler: SBUToastViewHandler? /// This function initializes toast view item. diff --git a/Sources/View/Common/User/SBUUserProfileView.swift b/Sources/View/Common/User/SBUUserProfileView.swift index a30c22b..c15e5b0 100644 --- a/Sources/View/Common/User/SBUUserProfileView.swift +++ b/Sources/View/Common/User/SBUUserProfileView.swift @@ -41,7 +41,7 @@ public protocol SBUUserProfileViewProtocol { } /// Default user profile view -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 open class SBUUserProfileView: UIView, SBUUserProfileViewProtocol { // MARK: - Property diff --git a/Sources/View/Life cycles/SBULabel.swift b/Sources/View/Life cycles/SBULabel.swift index 225880b..8c397df 100644 --- a/Sources/View/Life cycles/SBULabel.swift +++ b/Sources/View/Life cycles/SBULabel.swift @@ -9,7 +9,7 @@ import UIKit /// The `UILabel` conforming to `SBUViewLifeCycle` -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 open class SBULabel: UILabel { /// Initializes `UILabel` and set up subviews, auto layouts and actions for SendbirdUIKit. diff --git a/Sources/View/MessageSearch/SBUMessageSearchViewController.swift b/Sources/View/MessageSearch/SBUMessageSearchViewController.swift index 93e187c..75b4aa9 100644 --- a/Sources/View/MessageSearch/SBUMessageSearchViewController.swift +++ b/Sources/View/MessageSearch/SBUMessageSearchViewController.swift @@ -115,7 +115,7 @@ open class SBUMessageSearchViewController: SBUBaseViewController, SBUMessageSear } /// Create view model with channelURL - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 open func createViewModel(channelURL: String) { self.viewModel = SBUViewModelSet.MessageSearchViewModel.init( channelURL: channelURL, diff --git a/Sources/View/MessageThread/SBUParentMessageInfoView.swift b/Sources/View/MessageThread/SBUParentMessageInfoView.swift index 256a9e7..0119c19 100644 --- a/Sources/View/MessageThread/SBUParentMessageInfoView.swift +++ b/Sources/View/MessageThread/SBUParentMessageInfoView.swift @@ -705,7 +705,7 @@ open class SBUParentMessageInfoView: SBUView, SBUUserMessageTextViewDelegate { } } - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public func onTapSelectFile(_ fileInfo: UploadedFileInfo, index: Int) { self.fileSelectHandler?(fileInfo, index) } diff --git a/Sources/View/NotificationSettings/Cell/SBUChannelPushSettingCell.swift b/Sources/View/NotificationSettings/Cell/SBUChannelPushSettingCell.swift index 4cd2aa9..835cc3a 100644 --- a/Sources/View/NotificationSettings/Cell/SBUChannelPushSettingCell.swift +++ b/Sources/View/NotificationSettings/Cell/SBUChannelPushSettingCell.swift @@ -10,7 +10,7 @@ import UIKit import SendbirdChatSDK /// Channel Push Setting cell class -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 open class SBUChannelPushSettingCell: SBUTableViewCell { /// base vertical stack view public lazy var baseStackView = SBUStackView(axis: .vertical, alignment: .fill, spacing: 16) diff --git a/Sources/ViewModel/MessageSearch/SBUMessageSearchViewModel.swift b/Sources/ViewModel/MessageSearch/SBUMessageSearchViewModel.swift index f5a6a05..21d4b82 100644 --- a/Sources/ViewModel/MessageSearch/SBUMessageSearchViewModel.swift +++ b/Sources/ViewModel/MessageSearch/SBUMessageSearchViewModel.swift @@ -28,7 +28,7 @@ open class SBUMessageSearchViewModel { // MARK: - Property (Public) /// The channel that the search will be performed on. public private(set) var channel: BaseChannel? - /// The URL of the current channel. // [NEXT_VERSION] + /// The URL of the current channel. // 3.26.0 public private(set) var channelURL: String? /// The list of search results. @@ -70,7 +70,7 @@ open class SBUMessageSearchViewModel { /// - channelURL: The URL of the channel. /// - params: The `MessageSearchQueryParams` object that will be used for the search. Default is `nil`. /// - delegate: The `SBUMessageSearchViewModelDelegate` object that will handle delegate methods. Default is `nil`. - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 required public init( channelURL: String, params: MessageSearchQueryParams? = nil, @@ -87,7 +87,7 @@ open class SBUMessageSearchViewModel { /// - Parameters: /// - channelURL: channel url /// - type: channel type - /// - Since: [NEXT_VERSION] + /// - Since: 3.26.0 public func loadChannel(channelURL: String) { self.delegate?.shouldUpdateLoadingState(true) diff --git a/Sources/ViewModel/SBUViewModelSet.swift b/Sources/ViewModel/SBUViewModelSet.swift index 3fd2ad4..a90393e 100644 --- a/Sources/ViewModel/SBUViewModelSet.swift +++ b/Sources/ViewModel/SBUViewModelSet.swift @@ -9,7 +9,7 @@ import UIKit /// A class that holds references to various view model types used in the Sendbird UIKit. -/// - Since: [NEXT_VERSION] +/// - Since: 3.26.0 public class SBUViewModelSet { /// The view model for the group channel list. public static var GroupChannelListViewModel: SBUGroupChannelListViewModel.Type = SBUGroupChannelListViewModel.self