From 7225af15706bf08edfda28d441692cc1f1ee83ab Mon Sep 17 00:00:00 2001 From: Celine Moon Date: Mon, 2 Sep 2024 16:15:50 +0900 Subject: [PATCH] Bump up to v1.0.0-beta.1 --- CHANGELOG.md | 12 ++----- Package.swift | 4 +-- .../project.pbxproj | 24 ++++++------- .../xcshareddata/IDEWorkspaceChecks.plist | 8 ----- Sample/project.yml | 2 +- SendbirdSwiftUI.podspec | 4 +-- Sources/Enums/SBUEnums.swift | 2 +- .../UINavigationController+SBUIKit.swift | 2 +- .../GroupChannel/SBUGroupChannelModule.swift | 34 +++++++++---------- .../SBUOpenChannelModule.Header.swift | 2 +- .../OpenChannel/SBUOpenChannelModule.swift | 28 +++++++-------- .../Channel/SBUBaseChannelModule.Header.swift | 8 ++--- .../SBUGroupChannelListModule.swift | 22 ++++++------ .../SBUOpenChannelListModule.swift | 10 +++--- .../SBUBaseChannelListModule.Header.swift | 8 ++--- ...SBUGroupChannelSettingsModule.Header.swift | 4 +-- .../SBUGroupChannelSettingsModule.swift | 10 +++--- .../SBUOpenChannelSettingsModule.Header.swift | 4 +-- .../SBUOpenChannelSettingsModule.swift | 10 +++--- .../SBUBaseChannelSettingsModule.Header.swift | 4 +-- Sources/Module/Common/SBUCommonModule.swift | 8 ++--- .../SBUMessageSearchModule.Header.swift | 2 +- .../SBUMessageSearchModule.swift | 10 +++--- .../SBUMessageThreadModule.swift | 30 ++++++++-------- .../SBUModerationsModule.Header.swift | 8 ++--- .../Moderations/SBUModerationsModule.swift | 6 ++-- ...roupChannelPushSettingsModule.Header.swift | 8 ++--- .../SBUGroupChannelPushSettingsModule.swift | 8 ++--- Sources/Module/SBUModuleSet.swift | 2 +- .../SBUCreateChannelModule.Header.swift | 4 +-- .../SBUCreateChannelModule.swift | 10 +++--- .../SBUCreateOpenChannelModule.Header.swift | 8 ++--- .../SBUCreateOpenChannelModule.swift | 10 +++--- .../SBUInviteUserModule.Header.swift | 4 +-- .../InviteUser/SBUInviteUserModule.swift | 10 +++--- .../SBURegisterOperatorModule.Header.swift | 4 +-- .../SBURegisterOperatorModule.swift | 10 +++--- .../SBUBaseSelectUserModule.Header.swift | 4 +-- .../UserList/SBUUserListModule.Header.swift | 8 ++--- .../Module/UserList/SBUUserListModule.swift | 10 +++--- Sources/SwiftUI/SendbirdSwiftUI-Info.plist | 2 +- Sources/Theme/SBUColorSet.swift | 2 +- Sources/Theme/SBUFontSet.swift | 2 +- .../SBUChannelStateBanner.swift | 2 +- Sources/View/Channel/Media/SBUMediaView.swift | 2 +- .../SBUBaseMessageCellParams.swift | 2 +- .../MessageInput/SBUMessageInputView.swift | 2 +- .../Reaction/SBUEmojiListViewController.swift | 8 ++--- .../Reaction/SBUReactionsViewController.swift | 8 ++--- .../SBUBaseChannelViewController.swift | 4 +-- .../SBUScrollBottomView.swift | 2 +- .../SBUGroupChannelListViewController.swift | 4 +-- .../SBUOpenChannelListViewController.swift | 4 +-- .../Cell/SBUModerationCell.swift | 2 +- .../SBUChannelSettingsChannelInfoView.swift | 2 +- .../ActionSheet/SBUActionSheet.Item.swift | 4 +-- .../Common/AlertView/SBUAlertView.Item.swift | 6 ++-- .../View/Common/AlertView/SBUAlertView.swift | 18 +++++----- .../Menu/SBUBottomSheetController.swift | 4 +-- Sources/View/Common/Menu/SBUMenuCell.swift | 2 +- Sources/View/Common/SBUBarButtonItem.swift | 2 +- .../Common/SBUCommonViewControllerSet.swift | 8 ++--- Sources/View/Common/SBUSearchBar.swift | 2 +- .../View/Common/SBUUnderLineTextField.swift | 2 +- .../View/Common/Toast/SBUToastView.Item.swift | 6 ++-- .../View/Common/User/SBUUserProfileView.swift | 2 +- Sources/View/Life cycles/SBULabel.swift | 2 +- .../SBUMessageSearchViewController.swift | 2 +- .../SBUParentMessageInfoView.swift | 2 +- .../Cell/SBUChannelPushSettingCell.swift | 2 +- .../SBUMessageSearchViewModel.swift | 6 ++-- Sources/ViewModel/SBUViewModelSet.swift | 2 +- 72 files changed, 235 insertions(+), 251 deletions(-) delete mode 100644 Sample/QuickStartSwiftUI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/CHANGELOG.md b/CHANGELOG.md index d2bfc9c..957f0c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,2 @@ -### v1.0.0-beta.0 (Aug 14, 2024) - -:tada: Exciting Announcement: Now Supports SwiftUI! :partying_face: - -We're thrilled to introduce the latest version of SendbirdSwiftUI, bringing modern SwiftUI support to our popular Chat SDK! - -Our previous UIKit-based SDK allowed for rapid UI integration and simple customization. Now, we're extending these benefits to SwiftUI, the cutting-edge framework for building user interfaces. - -We offer the same level of features with our UIKit SDK. -For detailed information and documentation, please visit our [docs homepage](https://sendbird.com/docs/chat/uikit/v3/swiftui/overview). +### v1.0.0-beta.1 (Sep 2, 2024) +- Fixed the package's `CFBundleShortVersionString` format to comply to the required format diff --git a/Package.swift b/Package.swift index 09ae801..535f619 100644 --- a/Package.swift +++ b/Package.swift @@ -23,8 +23,8 @@ let package = Package( targets: [ .binaryTarget( name: "SendbirdSwiftUI", - url: "https://github.com/sendbird/sendbird-swiftui-ios/releases/download/1.0.0-beta.0/SendbirdSwiftUI.xcframework.zip", - checksum: "abf3c3e36505574d97f6415a23eeb241658acaadbd051e8b9317fdb41e18654e" + url: "https://github.com/sendbird/sendbird-swiftui-ios/releases/download/1.0.0-beta.1/SendbirdSwiftUI.xcframework.zip", + checksum: "180d5cfa23e9a6a5887a1752da6337a8c9f50e19deaf6bf78d71f14d85cf0663" ), .target( diff --git a/Sample/QuickStartSwiftUI.xcodeproj/project.pbxproj b/Sample/QuickStartSwiftUI.xcodeproj/project.pbxproj index 2a6bed9..b069619 100644 --- a/Sample/QuickStartSwiftUI.xcodeproj/project.pbxproj +++ b/Sample/QuickStartSwiftUI.xcodeproj/project.pbxproj @@ -6295,56 +6295,56 @@ path = List; sourceTree = ""; }; - "TEMP_2185EF23-F2A3-424B-9B8F-2FF16C31F40E" /* SubView */ = { + "TEMP_0C341D73-136A-49CB-A216-98A53F3B138D" /* SubView */ = { isa = PBXGroup; children = ( ); path = SubView; sourceTree = ""; }; - "TEMP_273645DA-DF89-44A3-A28A-687F7261B187" /* SubView */ = { + "TEMP_4B1B69A4-AB15-4A00-BA15-935B9383F41F" /* SubView */ = { isa = PBXGroup; children = ( ); path = SubView; sourceTree = ""; }; - "TEMP_3F042B2A-05ED-4E86-87BC-90017C10E7EB" /* SubView */ = { + "TEMP_802D4E33-5564-4A71-B2FE-0AE1E34D38BB" /* SubView */ = { isa = PBXGroup; children = ( ); path = SubView; sourceTree = ""; }; - "TEMP_72303569-4405-4B79-9334-39FD298C1411" /* SubView */ = { + "TEMP_BDD8CDA9-590E-407A-94B6-6B8382BE6554" /* SubView */ = { isa = PBXGroup; children = ( ); path = SubView; sourceTree = ""; }; - "TEMP_76B41441-A84B-4EBD-8CE6-E66B60AFC56D" /* SubView */ = { + "TEMP_C3F46338-6E1E-44A5-9BBF-E04508C01B44" /* SubView */ = { isa = PBXGroup; children = ( ); path = SubView; sourceTree = ""; }; - "TEMP_8F30F6D3-0A92-4E02-8C52-070D0F9E73A1" /* SubView */ = { + "TEMP_CCB46433-9BEC-4863-BE9D-89B9BCA29AAA" /* SubView */ = { isa = PBXGroup; children = ( ); path = SubView; sourceTree = ""; }; - "TEMP_C087A9E3-F659-498F-8EB2-E75D00FDCBF2" /* SubView */ = { + "TEMP_EA96858A-2424-4621-98A0-FA7F9580D51B" /* SubView */ = { isa = PBXGroup; children = ( ); path = SubView; sourceTree = ""; }; - "TEMP_C1DE2362-DAEF-4680-AB42-9764BF76B87D" /* SubView */ = { + "TEMP_F908E83B-0A6B-4D9F-9C3B-E0D5A1A394CB" /* SubView */ = { isa = PBXGroup; children = ( ); @@ -7530,7 +7530,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = "1.0.0-beta.0"; + MARKETING_VERSION = "1.0.0-beta.1"; PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.swiftui.sample; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -7563,7 +7563,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = "1.0.0-beta.0"; + MARKETING_VERSION = "1.0.0-beta.1"; PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.swiftui.sample.SwiftUINotificationService; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -7654,7 +7654,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = "1.0.0-beta.0"; + MARKETING_VERSION = "1.0.0-beta.1"; PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.swiftui.sample; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -7742,7 +7742,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = "1.0.0-beta.0"; + MARKETING_VERSION = "1.0.0-beta.1"; PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.swiftui.sample.SwiftUINotificationService; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; diff --git a/Sample/QuickStartSwiftUI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Sample/QuickStartSwiftUI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/Sample/QuickStartSwiftUI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/Sample/project.yml b/Sample/project.yml index d61fc75..865e039 100644 --- a/Sample/project.yml +++ b/Sample/project.yml @@ -41,7 +41,7 @@ settingGroups: FRAMEWORK_SEARCH_PATHS: '' IPHONEOS_DEPLOYMENT_TARGET: '15.0' LD_RUNPATH_SEARCH_PATHS: ["$(inherited)", "@executable_path/Frameworks", "@loader_path/Frameworks"] - MARKETING_VERSION: '1.0.0-beta.0' + MARKETING_VERSION: '1.0.0-beta.1' PRODUCT_NAME: "$(TARGET_NAME)" SDKROOT: iphoneos SWIFT_VERSION: '5.0' diff --git a/SendbirdSwiftUI.podspec b/SendbirdSwiftUI.podspec index 9552a0c..4965cbe 100644 --- a/SendbirdSwiftUI.podspec +++ b/SendbirdSwiftUI.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "SendbirdSwiftUI" - s.version = "1.0.0-beta.0" + s.version = "1.0.0-beta.1" s.summary = "Sendbird SwiftUI SDK based on SendbirdChatSDK" s.description = "SendbirdSwiftUI is a framework composed of basic UI components based on SwiftUI and SendbirdChatSDK." s.homepage = "https://sendbird.com" @@ -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 => "884264ed43b007f6f26f96d77a1ef08bb085f7f6" } + s.source = { :http => "https://github.com/sendbird/sendbird-swiftui-ios/releases/download/#{s.version}/SendbirdSwiftUI.zip", :sha1 => "5f48af9f455c3d1d45b6ada5459a67a899637501" } 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 0d5bf4f..1315d3f 100644 --- a/Sources/Enums/SBUEnums.swift +++ b/Sources/Enums/SBUEnums.swift @@ -439,7 +439,7 @@ public enum SBUChannelType { // - MARK: Internal -/// - Since: 3.26.0 +/// - Since: [NEXT_VERSION] enum SBUItemUsageState { case unused case usingDefault(Item) diff --git a/Sources/Extension/UINavigationController+SBUIKit.swift b/Sources/Extension/UINavigationController+SBUIKit.swift index 1663150..30c8d11 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: 3.26.0 + /// - Since: [NEXT_VERSION] public func pushViewControllerNonFlickering( _ viewController: UIHostingController, animated: Bool diff --git a/Sources/Module/Channel/GroupChannel/SBUGroupChannelModule.swift b/Sources/Module/Channel/GroupChannel/SBUGroupChannelModule.swift index 6dc9c49..a42a3e3 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of right bar button on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of title view on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of admin message cell on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var AdminMessageCell: SBUBaseMessageCell.Type = SBUAdminMessageCell.self /// Represents the type of user message cell on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var UserMessageCell: SBUBaseMessageCell.Type = SBUUserMessageCell.self /// Represents the type of file message cell on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var FileMessageCell: SBUBaseMessageCell.Type = SBUFileMessageCell.self /// Represents the type of multiple files message cell on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var MultipleFilesMessageCell: SBUBaseMessageCell.Type = SBUMultipleFilesMessageCell.self /// Represents the type of typing indicator cell on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var TypingIndicatorMessageCell: SBUBaseMessageCell.Type = SBUTypingIndicatorMessageCell.self /// Represents the type of unknown cell on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var UnknownMessageCell: SBUBaseMessageCell.Type = SBUUnknownMessageCell.self /// Represents the type of custom cell on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var CustomMessageCell: SBUBaseMessageCell.Type? /// Represents the type of channel state banner view on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var ChannelStateBanner: SBUChannelStateBanner.Type = SBUChannelStateBanner.self /// Represents the type of scroll bottom view on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var ScrollBottomView: SBUScrollBottomView.Type = SBUScrollBottomView.self /// Represents the type of message info view on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var NewMessageInfo: SBUNewMessageInfo.Type = SBUNewMessageInfo.self /// Represents the type of profile view on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var UserProfileView: SBUUserProfileView.Type = SBUUserProfileView.self } // MARK: Input extension SBUGroupChannelModule.Input { /// The component property that the message input view. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var MessageInputView: SBUMessageInputView.Type = SBUMessageInputView.self /// The component property that the voice message input view. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 e0d822e..098aa6d 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: 3.26.0 + /// - Since: [NEXT_VERSION] /// - 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 a135c3a..126c0be 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of right bar button on the open channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of title view on the open channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of admin message cell on the open channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var AdminMessageCell: SBUOpenChannelBaseMessageCell.Type = SBUOpenChannelAdminMessageCell.self /// Represents the type of user message cell on the open channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var UserMessageCell: SBUOpenChannelBaseMessageCell.Type = SBUOpenChannelUserMessageCell.self /// Represents the type of file message cell on the open channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var FileMessageCell: SBUOpenChannelBaseMessageCell.Type = SBUOpenChannelFileMessageCell.self /// Represents the type of unknown message cell on the open channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var UnknownMessageCell: SBUOpenChannelBaseMessageCell.Type = SBUOpenChannelUnknownMessageCell.self /// Represents the type of custom message cell on the open channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var CustomMessageCell: SBUOpenChannelBaseMessageCell.Type? /// Represents the type of channel state banner on the open channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var ChannelStateBanner: SBUChannelStateBanner.Type = SBUChannelStateBanner.self /// Represents the type of scroll bottom view on the open channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var ScrollBottomView: SBUScrollBottomView.Type = SBUScrollBottomView.self /// Represents the type of user profile view on the open channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var UserProfileView: SBUUserProfileView.Type = SBUUserProfileView.self } // MARK: Input extension SBUOpenChannelModule.Input { /// The component property that the message input view. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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 ca715d8..eaaac72 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] /// - 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: 3.26.0 + /// - Since: [NEXT_VERSION] /// - 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 d102ba9..2055a70 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of right bar button on the group channel list module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of title view on the group channel list module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of channel cell on the group channel list module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public typealias GroupChannelList = SBUGroupChannelListModule // Components /// The module component that shows the header in the channel. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public typealias Header = SBUGroupChannelListModule.Header /// The module component that shows the list of message in the channel. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public typealias List = SBUGroupChannelListModule.List /// The module component that shows the common view in the channel. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public typealias Common = SBUGroupChannelListModule.Common } diff --git a/Sources/Module/ChannelList/OpenChannel/SBUOpenChannelListModule.swift b/Sources/Module/ChannelList/OpenChannel/SBUOpenChannelListModule.swift index cac1728..deb8baf 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of right bar button on the open channel list module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of title view on the open channel list module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of channel cell on the open channel list module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 4a993d4..8fe8e04 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: 3.26.0 + /// - Since: [NEXT_VERSION] func baseChannelListModule(_ headerComponent: SBUBaseChannelListModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` was updated. /// - Parameters: /// - headerComponent: `SBUBaseChannelListModule.Header` object /// - rightItems: The updated `rightBarButtons` object. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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 77f0dbe..d3f33f5 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: 3.26.0 + /// - Since: [NEXT_VERSION] func groupChannelSettingsModule(_ headerComponent: SBUGroupChannelSettingsModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` was selected. /// - Parameters: /// - headerComponent: `SBUGroupChannelSettingsModule.Header` object /// - rightItem: Updated `rightBarButtons` object. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 24e172d..d01a18f 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of right bar button on the group channel settings module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view on the group channel settings module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var ChannelInfoView: SBUChannelSettingsChannelInfoView.Type = SBUChannelSettingsChannelInfoView.self /// Represents the metatype of setting cell on the group channel settings module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 9016fa0..67d1551 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: 3.26.0 + /// - Since: [NEXT_VERSION] func openChannelSettingsModule(_ headerComponent: SBUOpenChannelSettingsModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` was updated. /// - Parameters: /// - headerComponent: `SBUOpenChannelSettingsModule.Header` object /// - rightItems: Updated `rightBarButtons` object. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 13a4d0d..6587289 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of right bar button on the open channel settings module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of title view on the open channel settings module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var ChannelInfoView: SBUChannelSettingsChannelInfoView.Type = SBUChannelSettingsChannelInfoView.self /// Represents the type of setting cell on the open channel settings module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 cedf18d..4002d05 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public var rightBarButtons: [UIBarButtonItem]? { didSet { self.didUpdateRightItems() } } diff --git a/Sources/Module/Common/SBUCommonModule.swift b/Sources/Module/Common/SBUCommonModule.swift index 0890b85..6ca0fc3 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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 086c587..6374662 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: 3.26.0 + /// - Since: [NEXT_VERSION] public func cancelSearch() { self.delegate?.messageSearchModuleDidTapCancel(self) } diff --git a/Sources/Module/MessageSearch/SBUMessageSearchModule.swift b/Sources/Module/MessageSearch/SBUMessageSearchModule.swift index 6163cf6..6cadfc8 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type? /// Represents the metatype of title view in ``SBUMessageSearchModule.Header``. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var TitleView: SBUSearchBar.Type = SBUSearchBar.self /// Represents the metatype of right bar button in ``SBUMessageSearchModule.Header``. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of message search result cell on the message search module module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var MessageSearchResultCell: SBUMessageSearchResultCell.Type = SBUMessageSearchResultCell.self } diff --git a/Sources/Module/MessageThread/SBUMessageThreadModule.swift b/Sources/Module/MessageThread/SBUMessageThreadModule.swift index 9877570..4cf8dd4 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of right bar button on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the type of title view on the group channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of admin message cell on the message thread module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var AdminMessageCell: SBUBaseMessageCell.Type = SBUAdminMessageCell.self /// Represents the type of user message cell on the message thread module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var UserMessageCell: SBUBaseMessageCell.Type = SBUUserMessageCell.self /// Represents the type of file message cell on the message thread module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var FileMessageCell: SBUBaseMessageCell.Type = SBUFileMessageCell.self /// Represents the type of multiple files message cell on the message thread module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var MultipleFilesMessageCell: SBUBaseMessageCell.Type = SBUMultipleFilesMessageCell.self /// Represents the type of unknown message cell on the message thread module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var UnknownMessageCell: SBUBaseMessageCell.Type = SBUUnknownMessageCell.self /// Represents the type of custom message cell on the message thread module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var CustomMessageCell: SBUBaseMessageCell.Type? /// Represents the type of channel state banner on the message thread module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var ChannelStateBanner: SBUChannelStateBanner.Type = SBUChannelStateBanner.self /// Represents the type of user profile view on the message thread module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var UserProfileView: SBUUserProfileView.Type = SBUUserProfileView.self /// Represents the type of parent messag info view on the message thread module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var ParentMessageInfoView: SBUParentMessageInfoView.Type = SBUParentMessageInfoView.self } // MARK: Input extension SBUMessageThreadModule.Input { /// The component property that the message input view. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var MessageInputView: SBUMessageInputView.Type = SBUMessageInputView.self /// The component property that the voice message input view. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 f74c21a..9bbf47f 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: 3.26.0 + /// - Since: [NEXT_VERSION] func moderationsModule(_ headerComponent: SBUModerationsModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` value is updated. /// - Parameters: /// - headerComponent: `SBUModerationsModule.Header` object /// - rightItems: Updated `rightBarButtons` object. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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 70a4f05..e0c56d8 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view in ``SBUModerationsModule.Header``. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self } // MARK: List extension SBUModerationsModule.List { /// Represents the metatype of moderation cell in moderation module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 6eeeefa..fa5fd3f 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public var rightBarButtons: [UIBarButtonItem]? { didSet { self.delegate?.groupChannelPushSettingsModule( diff --git a/Sources/Module/NotificationSettings/SBUGroupChannelPushSettingsModule.swift b/Sources/Module/NotificationSettings/SBUGroupChannelPushSettingsModule.swift index 3704793..7a45ec6 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of right bar button on the group channel settings module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view on the group channel settings module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var ChannelPushSettingCell: SBUChannelPushSettingCell.Type = SBUChannelPushSettingCell.self } diff --git a/Sources/Module/SBUModuleSet.swift b/Sources/Module/SBUModuleSet.swift index 2a90130..1f52f92 100644 --- a/Sources/Module/SBUModuleSet.swift +++ b/Sources/Module/SBUModuleSet.swift @@ -188,6 +188,6 @@ extension SBUModuleSet { /// ```swift /// SBUModuleSet.CommonModule = SBUCommonModule.self /// ``` - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 086b6af..ec57aab 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: 3.26.0 + /// - Since: [NEXT_VERSION] func createChannelModule(_ headerComponent: SBUCreateChannelModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` was selected. /// - Parameters: /// - headerComponent: `SBUCreateChannelModule.Header` object /// - rightItem: Updated `rightBarButtons` object. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 26277f8..d9d714e 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view in ``SBUCreateChannelModule.Header``. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self /// Represents the metatype of right bar button in ``SBUCreateChannelModule.Header``. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of user cell on the create channel module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 8d7a5ff..469cc42 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: 3.26.0 + /// - Since: [NEXT_VERSION] func createOpenChannelModule(_ headerComponent: SBUCreateOpenChannelModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButton` was selected. /// - Parameters: /// - headerComponent: `SBUCreateOpenChannelModule.Header` object /// - rightItems: Updated `rightBarButtons` object. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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 7c5be6d..18c91ae 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view in ``SBUCreateOpenChannelModule.Header``. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self /// Represents the metatype of right bar button in ``SBUCreateOpenChannelModule.Header``. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self } // MARK: List extension SBUCreateOpenChannelModule.ProfileInput { /// The view that displays the channel image in Create channel. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var ChannelImageView: SBUCoverImageView.Type = SBUCoverImageView.self /// The view that displays the channel name inputField in Create channel. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 e7d3930..76445fa 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: 3.26.0 + /// - Since: [NEXT_VERSION] func inviteUserModule(_ headerComponent: SBUInviteUserModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` was selected. /// - Parameters: /// - headerComponent: `SBUInviteUserModule.Header` object /// - rightItem: Updated `rightBarButtons` object. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 10434b3..22ee676 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view in ``SBUInviteUserModule.Header``. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self /// Represents the metatype of right bar button in ``SBUInviteUserModule.Header``. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of user cell on the invite user module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 d7a4123..489b77d 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: 3.26.0 + /// - Since: [NEXT_VERSION] func registerOperatorModule(_ headerComponent: SBURegisterOperatorModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` was selected. /// - Parameters: /// - headerComponent: `SBURegisterOperatorModule.Header` object /// - rightItems: Updated `rightBarButtons` object. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 4048e81..43b12ff 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view in ``SBURegisterOperatorModule.Header``. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self /// Represents the metatype of right bar button in ``SBURegisterOperatorModule.Header``. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of user cell on the register operator module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 5367de8..e71fa9a 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: 3.26.0 + /// - Since: [NEXT_VERSION] func didUpdateLeftItems() { } /// Called when the `rightBarButtons` was updated. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] func didUpdateRightItems() { } // MARK: - Actions diff --git a/Sources/Module/UserList/SBUUserListModule.Header.swift b/Sources/Module/UserList/SBUUserListModule.Header.swift index 48b6b35..cd35733 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: 3.26.0 + /// - Since: [NEXT_VERSION] func userListModule(_ headerComponent: SBUUserListModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) /// Called when `rightBarButtons` was updated. /// - Parameters: /// - headerComponent: `SBUUserListModule.Header` object /// - rightItems: Updated `rightBarButtons` object. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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 09bc2e9..0b2fd1b 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self /// Represents the metatype of title view in ``SBUUserListModule.Header``. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self /// Represents the metatype of right bar button in ``SBUUserListModule.Header``. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self /// Represents the type of user cell on the user list module. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var UserCell: SBUUserCell.Type = SBUUserCell.self } diff --git a/Sources/SwiftUI/SendbirdSwiftUI-Info.plist b/Sources/SwiftUI/SendbirdSwiftUI-Info.plist index 3b10eb3..25a40b0 100644 --- a/Sources/SwiftUI/SendbirdSwiftUI-Info.plist +++ b/Sources/SwiftUI/SendbirdSwiftUI-Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - $(MARKETING_VERSION) + $(SWIFTUI_SHORT_VERSION_STRING) CFBundleVersion $(CURRENT_PROJECT_VERSION) SBSwiftUIAppVersion diff --git a/Sources/Theme/SBUColorSet.swift b/Sources/Theme/SBUColorSet.swift index f08d93a..584bd59 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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 7e5b83a..73e20ac 100644 --- a/Sources/Theme/SBUFontSet.swift +++ b/Sources/Theme/SBUFontSet.swift @@ -291,7 +291,7 @@ extension SBUFontSet { extension SBUFontSet { /// Restore default fonts - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 f82cc39..09352a9 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: 3.26.0 +/// - Since: [NEXT_VERSION] 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 f5a3fed..41e18d4 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: 3.26.0 +/// - Since: [NEXT_VERSION] 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 ec35019..ccfecb4 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: 3.26.0 + /// - Since: [NEXT_VERSION] var isThreadMessage: Bool = false /** diff --git a/Sources/View/Channel/MessageInput/SBUMessageInputView.swift b/Sources/View/Channel/MessageInput/SBUMessageInputView.swift index e412810..6f55f44 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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 af1d652..42d6268 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: 3.26.0 +/// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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 2e34e03..0b42e36 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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 44346c8..e628511 100644 --- a/Sources/View/Channel/SBUBaseChannelViewController.swift +++ b/Sources/View/Channel/SBUBaseChannelViewController.swift @@ -780,12 +780,12 @@ open class SBUBaseChannelViewController: SBUBaseViewController, SBUBaseChannelVi } } - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public func baseChannelModule(_ headerComponent: SBUBaseChannelModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?) { self.navigationItem.leftBarButtonItems = leftItems } - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 01505c7..ce4084a 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: 3.26.0 +/// - Since: [NEXT_VERSION] open class SBUScrollBottomView: SBUView { var channelType: ChannelType = .group diff --git a/Sources/View/ChannelList/SBUGroupChannelListViewController.swift b/Sources/View/ChannelList/SBUGroupChannelListViewController.swift index 359be87..28271fe 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 } - /// 3.26.0 + /// [NEXT_VERSION] open func baseChannelListModule( _ headerComponent: SBUBaseChannelListModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]? @@ -326,7 +326,7 @@ open class SBUGroupChannelListViewController: SBUBaseChannelListViewController, self.navigationItem.leftBarButtonItems = leftItems } - /// 3.26.0 + /// [NEXT_VERSION] open func baseChannelListModule( _ headerComponent: SBUBaseChannelListModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]? diff --git a/Sources/View/ChannelList/SBUOpenChannelListViewController.swift b/Sources/View/ChannelList/SBUOpenChannelListViewController.swift index 979d809..3632628 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 } - /// 3.26.0 + /// [NEXT_VERSION] open func baseChannelListModule( _ headerComponent: SBUBaseChannelListModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]? @@ -237,7 +237,7 @@ open class SBUOpenChannelListViewController: SBUBaseChannelListViewController, S self.navigationItem.leftBarButtonItems = leftItems } - /// 3.26.0 + /// [NEXT_VERSION] 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 f1ef730..3fae9e9 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: 3.26.0 +/// - Since: [NEXT_VERSION] 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 dd5de99..3a13400 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: 3.26.0 +/// - Since: [NEXT_VERSION] 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 3434394..74d7267 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: 3.26.0 + /// - Since: [NEXT_VERSION] public var completionHandler: SBUActionSheetHandler? /// This property indicates whether the text alignment is set. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public var isTextAlignmentSet = false /// initializer diff --git a/Sources/View/Common/AlertView/SBUAlertView.Item.swift b/Sources/View/Common/AlertView/SBUAlertView.Item.swift index c422a46..4c39bcd 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: 3.26.0 + /// - Since: [NEXT_VERSION] public var title: String /// The title color of the alert button. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public var color: UIColor? /// The completion handler of the alert button. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 658809d..ed7bfe9 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: 3.26.0 +/// - Since: [NEXT_VERSION] 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") // 3.26.0 +@available(*, deprecated, renamed: "SBUAlertButtonHandler") // [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] @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: 3.26.0 + /// - Since: [NEXT_VERSION] private func createTitleLabel() -> UILabel { let label = UILabel(frame: CGRect( origin: CGPoint( @@ -618,7 +618,7 @@ extension SBUAlertView { } /// This function creates a message label. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] private func createInputField(originY: CGFloat) -> UITextField? { if self.needInputField { let textField = UITextField() @@ -658,7 +658,7 @@ extension SBUAlertView { } /// This function creates a separator. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] private func createCancelButton( originY: CGFloat, buttonOriginX: CGFloat = 0.0 @@ -700,7 +700,7 @@ extension SBUAlertView { } /// This function creates a confirm button. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 c71c903..e260a6d 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: 3.26.0 +/// - Since: [NEXT_VERSION] 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: 3.26.0 +/// - Since: [NEXT_VERSION] 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 d04fdf1..9adef03 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: 3.26.0 +/// - Since: [NEXT_VERSION] 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 f6f602b..68d9591 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: 3.26.0 +/// - Since: [NEXT_VERSION] 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 3241b52..7b9bc22 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: 3.26.0 + /// - Since: [NEXT_VERSION] public static var SelectablePhotoViewController: SBUSelectablePhotoViewController.Type = SBUSelectablePhotoViewController.self /// The view controller that shows the message menu sheet. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var MenuSheetViewController: SBUMenuSheetViewController.Type = SBUMenuSheetViewController.self /// The view controller that shows the reactions. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var ReactionsViewController: SBUReactionsViewController.Type = SBUReactionsViewController.self /// The view controller that shows the emojis. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public static var EmojiListViewController: SBUEmojiListViewController.Type = SBUEmojiListViewController.self } diff --git a/Sources/View/Common/SBUSearchBar.swift b/Sources/View/Common/SBUSearchBar.swift index fdb0f8a..95be525 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: 3.26.0 +/// - Since: [NEXT_VERSION] open class SBUSearchBar: UISearchBar, SBUViewLifeCycle { var theme: SBUMessageSearchTheme? diff --git a/Sources/View/Common/SBUUnderLineTextField.swift b/Sources/View/Common/SBUUnderLineTextField.swift index 3bfd4b0..1c99ba8 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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 8a89521..8135a9d 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: 3.26.0 + /// - Since: [NEXT_VERSION] public var position: Position /// The duration of the toast view. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public var duration: Double /// The completion handler of the toast view. - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 c15e5b0..a30c22b 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: 3.26.0 +/// - Since: [NEXT_VERSION] open class SBUUserProfileView: UIView, SBUUserProfileViewProtocol { // MARK: - Property diff --git a/Sources/View/Life cycles/SBULabel.swift b/Sources/View/Life cycles/SBULabel.swift index 8c397df..225880b 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: 3.26.0 +/// - Since: [NEXT_VERSION] 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 75b4aa9..93e187c 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: 3.26.0 + /// - Since: [NEXT_VERSION] 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 0119c19..256a9e7 100644 --- a/Sources/View/MessageThread/SBUParentMessageInfoView.swift +++ b/Sources/View/MessageThread/SBUParentMessageInfoView.swift @@ -705,7 +705,7 @@ open class SBUParentMessageInfoView: SBUView, SBUUserMessageTextViewDelegate { } } - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] 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 835cc3a..4cd2aa9 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: 3.26.0 +/// - Since: [NEXT_VERSION] 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 21d4b82..f5a6a05 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. // 3.26.0 + /// The URL of the current channel. // [NEXT_VERSION] 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: 3.26.0 + /// - Since: [NEXT_VERSION] required public init( channelURL: String, params: MessageSearchQueryParams? = nil, @@ -87,7 +87,7 @@ open class SBUMessageSearchViewModel { /// - Parameters: /// - channelURL: channel url /// - type: channel type - /// - Since: 3.26.0 + /// - Since: [NEXT_VERSION] public func loadChannel(channelURL: String) { self.delegate?.shouldUpdateLoadingState(true) diff --git a/Sources/ViewModel/SBUViewModelSet.swift b/Sources/ViewModel/SBUViewModelSet.swift index a90393e..3fd2ad4 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: 3.26.0 +/// - Since: [NEXT_VERSION] public class SBUViewModelSet { /// The view model for the group channel list. public static var GroupChannelListViewModel: SBUGroupChannelListViewModel.Type = SBUGroupChannelListViewModel.self