Skip to content

Commit f90bf31

Browse files
committed
Fixed sources.
1 parent 7225af1 commit f90bf31

File tree

68 files changed

+225
-225
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+225
-225
lines changed

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ let package = Package(
2424
.binaryTarget(
2525
name: "SendbirdSwiftUI",
2626
url: "https://github.com/sendbird/sendbird-swiftui-ios/releases/download/1.0.0-beta.1/SendbirdSwiftUI.xcframework.zip",
27-
checksum: "180d5cfa23e9a6a5887a1752da6337a8c9f50e19deaf6bf78d71f14d85cf0663"
27+
checksum: "cd882856d77ba496eb313b16eeec35d8c981f49dcac3818194badac4a3960183"
2828

2929
),
3030
.target(

Sample/QuickStartSwiftUI.xcodeproj/project.pbxproj

+8-8
Original file line numberDiff line numberDiff line change
@@ -6295,56 +6295,56 @@
62956295
path = List;
62966296
sourceTree = "<group>";
62976297
};
6298-
"TEMP_0C341D73-136A-49CB-A216-98A53F3B138D" /* SubView */ = {
6298+
"TEMP_3705E1FC-1BDB-45D5-84B5-52BFDC494EA9" /* SubView */ = {
62996299
isa = PBXGroup;
63006300
children = (
63016301
);
63026302
path = SubView;
63036303
sourceTree = "<group>";
63046304
};
6305-
"TEMP_4B1B69A4-AB15-4A00-BA15-935B9383F41F" /* SubView */ = {
6305+
"TEMP_3FBA214E-C4B9-4EA0-B35C-E3EC9B9F2AE8" /* SubView */ = {
63066306
isa = PBXGroup;
63076307
children = (
63086308
);
63096309
path = SubView;
63106310
sourceTree = "<group>";
63116311
};
6312-
"TEMP_802D4E33-5564-4A71-B2FE-0AE1E34D38BB" /* SubView */ = {
6312+
"TEMP_47BF45C9-E1D6-4691-BF7D-D8E499DE653E" /* SubView */ = {
63136313
isa = PBXGroup;
63146314
children = (
63156315
);
63166316
path = SubView;
63176317
sourceTree = "<group>";
63186318
};
6319-
"TEMP_BDD8CDA9-590E-407A-94B6-6B8382BE6554" /* SubView */ = {
6319+
"TEMP_4A683376-538F-4CD6-8FEF-FBA5E071A274" /* SubView */ = {
63206320
isa = PBXGroup;
63216321
children = (
63226322
);
63236323
path = SubView;
63246324
sourceTree = "<group>";
63256325
};
6326-
"TEMP_C3F46338-6E1E-44A5-9BBF-E04508C01B44" /* SubView */ = {
6326+
"TEMP_4BB4B028-14B1-4884-B540-D65223CB49E4" /* SubView */ = {
63276327
isa = PBXGroup;
63286328
children = (
63296329
);
63306330
path = SubView;
63316331
sourceTree = "<group>";
63326332
};
6333-
"TEMP_CCB46433-9BEC-4863-BE9D-89B9BCA29AAA" /* SubView */ = {
6333+
"TEMP_74DF3411-7897-4498-B706-251373F04400" /* SubView */ = {
63346334
isa = PBXGroup;
63356335
children = (
63366336
);
63376337
path = SubView;
63386338
sourceTree = "<group>";
63396339
};
6340-
"TEMP_EA96858A-2424-4621-98A0-FA7F9580D51B" /* SubView */ = {
6340+
"TEMP_981D7B83-1B32-4EB7-A883-F6E4FCDB761C" /* SubView */ = {
63416341
isa = PBXGroup;
63426342
children = (
63436343
);
63446344
path = SubView;
63456345
sourceTree = "<group>";
63466346
};
6347-
"TEMP_F908E83B-0A6B-4D9F-9C3B-E0D5A1A394CB" /* SubView */ = {
6347+
"TEMP_D3C1CDFE-3C33-4152-950B-25F8BD3F4058" /* SubView */ = {
63486348
isa = PBXGroup;
63496349
children = (
63506350
);

SendbirdSwiftUI.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
"Kai" => "[email protected]"
1717
}
1818
s.platform = :ios, "15.0"
19-
s.source = { :http => "https://github.com/sendbird/sendbird-swiftui-ios/releases/download/#{s.version}/SendbirdSwiftUI.zip", :sha1 => "5f48af9f455c3d1d45b6ada5459a67a899637501" }
19+
s.source = { :http => "https://github.com/sendbird/sendbird-swiftui-ios/releases/download/#{s.version}/SendbirdSwiftUI.zip", :sha1 => "b6615fddbfb97ceec73f837365724f467d28660b" }
2020
s.ios.vendored_frameworks = 'SendbirdSwiftUI/SendbirdSwiftUI.xcframework'
2121
s.ios.frameworks = ["UIKit", "SwiftUI", "Foundation", "CoreData", "SendbirdChatSDK"]
2222
s.requires_arc = true

Sources/Enums/SBUEnums.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ public enum SBUChannelType {
439439

440440
// - MARK: Internal
441441

442-
/// - Since: [NEXT_VERSION]
442+
/// - Since: 3.26.0
443443
enum SBUItemUsageState<Item: Hashable> {
444444
case unused
445445
case usingDefault(Item)

Sources/Extension/UINavigationController+SBUIKit.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extension UINavigationController {
3434

3535
#if SWIFTUI
3636
/// Push view controller with hiding navigation bar. Method to hide and show navigationBar in swiftui (ui timing issue)
37-
/// - Since: [NEXT_VERSION]
37+
/// - Since: 3.26.0
3838
public func pushViewControllerNonFlickering<T>(
3939
_ viewController: UIHostingController<T>,
4040
animated: Bool

Sources/Module/Channel/GroupChannel/SBUGroupChannelModule.swift

+17-17
Original file line numberDiff line numberDiff line change
@@ -26,76 +26,76 @@ extension SBUGroupChannelModule {
2626
// MARK: Header
2727
extension SBUGroupChannelModule.Header {
2828
/// Represents the type of left bar button on the group channel module.
29-
/// - Since: [NEXT_VERSION]
29+
/// - Since: 3.26.0
3030
public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self
3131

3232
/// Represents the type of right bar button on the group channel module.
33-
/// - Since: [NEXT_VERSION]
33+
/// - Since: 3.26.0
3434
public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self
3535

3636
/// Represents the type of title view on the group channel module.
37-
/// - Since: [NEXT_VERSION]
37+
/// - Since: 3.26.0
3838
public static var TitleView: SBUChannelTitleView.Type = SBUChannelTitleView.self
3939
}
4040

4141
// MARK: List
4242
extension SBUGroupChannelModule.List {
4343
/// Represents the type of empty view on the group channel module.
44-
/// - Since: [NEXT_VERSION]
44+
/// - Since: 3.26.0
4545
public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self
4646

4747
/// Represents the type of admin message cell on the group channel module.
48-
/// - Since: [NEXT_VERSION]
48+
/// - Since: 3.26.0
4949
public static var AdminMessageCell: SBUBaseMessageCell.Type = SBUAdminMessageCell.self
5050

5151
/// Represents the type of user message cell on the group channel module.
52-
/// - Since: [NEXT_VERSION]
52+
/// - Since: 3.26.0
5353
public static var UserMessageCell: SBUBaseMessageCell.Type = SBUUserMessageCell.self
5454

5555
/// Represents the type of file message cell on the group channel module.
56-
/// - Since: [NEXT_VERSION]
56+
/// - Since: 3.26.0
5757
public static var FileMessageCell: SBUBaseMessageCell.Type = SBUFileMessageCell.self
5858

5959
/// Represents the type of multiple files message cell on the group channel module.
60-
/// - Since: [NEXT_VERSION]
60+
/// - Since: 3.26.0
6161
public static var MultipleFilesMessageCell: SBUBaseMessageCell.Type = SBUMultipleFilesMessageCell.self
6262

6363
/// Represents the type of typing indicator cell on the group channel module.
64-
/// - Since: [NEXT_VERSION]
64+
/// - Since: 3.26.0
6565
public static var TypingIndicatorMessageCell: SBUBaseMessageCell.Type = SBUTypingIndicatorMessageCell.self
6666

6767
/// Represents the type of unknown cell on the group channel module.
68-
/// - Since: [NEXT_VERSION]
68+
/// - Since: 3.26.0
6969
public static var UnknownMessageCell: SBUBaseMessageCell.Type = SBUUnknownMessageCell.self
7070

7171
/// Represents the type of custom cell on the group channel module.
72-
/// - Since: [NEXT_VERSION]
72+
/// - Since: 3.26.0
7373
public static var CustomMessageCell: SBUBaseMessageCell.Type?
7474

7575
/// Represents the type of channel state banner view on the group channel module.
76-
/// - Since: [NEXT_VERSION]
76+
/// - Since: 3.26.0
7777
public static var ChannelStateBanner: SBUChannelStateBanner.Type = SBUChannelStateBanner.self
7878

7979
/// Represents the type of scroll bottom view on the group channel module.
80-
/// - Since: [NEXT_VERSION]
80+
/// - Since: 3.26.0
8181
public static var ScrollBottomView: SBUScrollBottomView.Type = SBUScrollBottomView.self
8282

8383
/// Represents the type of message info view on the group channel module.
84-
/// - Since: [NEXT_VERSION]
84+
/// - Since: 3.26.0
8585
public static var NewMessageInfo: SBUNewMessageInfo.Type = SBUNewMessageInfo.self
8686

8787
/// Represents the type of profile view on the group channel module.
88-
/// - Since: [NEXT_VERSION]
88+
/// - Since: 3.26.0
8989
public static var UserProfileView: SBUUserProfileView.Type = SBUUserProfileView.self
9090
}
9191

9292
// MARK: Input
9393
extension SBUGroupChannelModule.Input {
9494
/// The component property that the message input view.
95-
/// - Since: [NEXT_VERSION]
95+
/// - Since: 3.26.0
9696
public static var MessageInputView: SBUMessageInputView.Type = SBUMessageInputView.self
9797

9898
/// The component property that the voice message input view.
99-
/// - Since: [NEXT_VERSION]
99+
/// - Since: 3.26.0
100100
public static var VoiceMessageInputView: SBUVoiceMessageInputView.Type = SBUVoiceMessageInputView.self
101101
}

Sources/Module/Channel/OpenChannel/SBUOpenChannelModule.Header.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ extension SBUOpenChannelModule {
6262
}
6363

6464
/// A view that represents right bar items in navigation bar.
65-
/// - Since: [NEXT_VERSION]
65+
/// - Since: 3.26.0
6666
/// - NOTE: When the value is updated, `baseChannelModule(_:didUpdateRightItems:)` delegate function is called.
6767
override public var rightBarButtons: [UIBarButtonItem]? {
6868
get { self.internalRightBarButtons.item ?? nil }

Sources/Module/Channel/OpenChannel/SBUOpenChannelModule.swift

+14-14
Original file line numberDiff line numberDiff line change
@@ -29,68 +29,68 @@ extension SBUOpenChannelModule {
2929
// MARK: Header
3030
extension SBUOpenChannelModule.Header {
3131
/// Represents the type of left bar button on the open channel module.
32-
/// - Since: [NEXT_VERSION]
32+
/// - Since: 3.26.0
3333
public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self
3434

3535
/// Represents the type of right bar button on the open channel module.
36-
/// - Since: [NEXT_VERSION]
36+
/// - Since: 3.26.0
3737
public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self
3838

3939
/// Represents the type of title view on the open channel module.
40-
/// - Since: [NEXT_VERSION]
40+
/// - Since: 3.26.0
4141
public static var TitleView: SBUChannelTitleView.Type = SBUChannelTitleView.self
4242
}
4343

4444
// MARK: List
4545
extension SBUOpenChannelModule.List {
4646
/// Represents the type of empty view on the open channel module.
47-
/// - Since: [NEXT_VERSION]
47+
/// - Since: 3.26.0
4848
public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self
4949

5050
/// Represents the type of admin message cell on the open channel module.
51-
/// - Since: [NEXT_VERSION]
51+
/// - Since: 3.26.0
5252
public static var AdminMessageCell: SBUOpenChannelBaseMessageCell.Type = SBUOpenChannelAdminMessageCell.self
5353

5454
/// Represents the type of user message cell on the open channel module.
55-
/// - Since: [NEXT_VERSION]
55+
/// - Since: 3.26.0
5656
public static var UserMessageCell: SBUOpenChannelBaseMessageCell.Type = SBUOpenChannelUserMessageCell.self
5757

5858
/// Represents the type of file message cell on the open channel module.
59-
/// - Since: [NEXT_VERSION]
59+
/// - Since: 3.26.0
6060
public static var FileMessageCell: SBUOpenChannelBaseMessageCell.Type = SBUOpenChannelFileMessageCell.self
6161

6262
/// Represents the type of unknown message cell on the open channel module.
63-
/// - Since: [NEXT_VERSION]
63+
/// - Since: 3.26.0
6464
public static var UnknownMessageCell: SBUOpenChannelBaseMessageCell.Type = SBUOpenChannelUnknownMessageCell.self
6565

6666
/// Represents the type of custom message cell on the open channel module.
67-
/// - Since: [NEXT_VERSION]
67+
/// - Since: 3.26.0
6868
public static var CustomMessageCell: SBUOpenChannelBaseMessageCell.Type?
6969

7070
/// Represents the type of channel state banner on the open channel module.
71-
/// - Since: [NEXT_VERSION]
71+
/// - Since: 3.26.0
7272
public static var ChannelStateBanner: SBUChannelStateBanner.Type = SBUChannelStateBanner.self
7373

7474
/// Represents the type of scroll bottom view on the open channel module.
75-
/// - Since: [NEXT_VERSION]
75+
/// - Since: 3.26.0
7676
public static var ScrollBottomView: SBUScrollBottomView.Type = SBUScrollBottomView.self
7777

7878
/// Represents the type of user profile view on the open channel module.
79-
/// - Since: [NEXT_VERSION]
79+
/// - Since: 3.26.0
8080
public static var UserProfileView: SBUUserProfileView.Type = SBUUserProfileView.self
8181
}
8282

8383
// MARK: Input
8484
extension SBUOpenChannelModule.Input {
8585
/// The component property that the message input view.
86-
/// - Since: [NEXT_VERSION]
86+
/// - Since: 3.26.0
8787
public static var MessageInputView: SBUMessageInputView.Type = SBUMessageInputView.self
8888
}
8989

9090
// MARK: Media
9191
extension SBUOpenChannelModule.Media {
9292
/// A view to shows media or other contents in the open channel.
93-
/// - Since: [NEXT_VERSION]
93+
/// - Since: 3.26.0
9494
public static var MediaView: SBUMediaView.Type = SBUMediaView.self
9595

9696
}

Sources/Module/Channel/SBUBaseChannelModule.Header.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ public protocol SBUBaseChannelModuleHeaderDelegate: SBUCommonDelegate {
3333
/// - Parameters:
3434
/// - headerComponent: `SBUBaseChannelModule.Header` object
3535
/// - rightItem: Updated `leftBarButtons` object.
36-
/// - Since: [NEXT_VERSION]
36+
/// - Since: 3.26.0
3737
func baseChannelModule(_ headerComponent: SBUBaseChannelModule.Header, didUpdateLeftItems leftItems: [UIBarButtonItem]?)
3838

3939
/// Called when `rightBarButtons` value has been updated.
4040
/// - Parameters:
4141
/// - headerComponent: `SBUBaseChannelModule.Header` object
4242
/// - rightItem: Updated `rightBarButtons` object.
43-
/// - Since: [NEXT_VERSION]
43+
/// - Since: 3.26.0
4444
func baseChannelModule(_ headerComponent: SBUBaseChannelModule.Header, didUpdateRightItems rightItems: [UIBarButtonItem]?)
4545

4646
/// Called when `titleView` was selected.
@@ -116,7 +116,7 @@ extension SBUBaseChannelModule {
116116
var internalRightBarButton: SBUItemUsageState<UIBarButtonItem?> = .unused
117117

118118
/// A view that represents left bar items in navigation bar.
119-
/// - Since: [NEXT_VERSION]
119+
/// - Since: 3.26.0
120120
/// - NOTE: When the value is updated, `baseChannelModule(_:didUpdateLeftItems:)` delegate function is called.
121121
public var leftBarButtons: [UIBarButtonItem]? {
122122
didSet {
@@ -125,7 +125,7 @@ extension SBUBaseChannelModule {
125125
}
126126

127127
/// A view that represents right bar items in navigation bar.
128-
/// - Since: [NEXT_VERSION]
128+
/// - Since: 3.26.0
129129
/// - NOTE: When the value is updated, `baseChannelModule(_:didUpdateRightItems:)` delegate function is called.
130130
public var rightBarButtons: [UIBarButtonItem]? {
131131
didSet {

Sources/Module/ChannelList/GroupChannel/SBUGroupChannelListModule.swift

+11-11
Original file line numberDiff line numberDiff line change
@@ -19,33 +19,33 @@ extension SBUGroupChannelListModule {
1919
public static var ListComponent: SBUGroupChannelListModule.List.Type = SBUGroupChannelListModule.List.self
2020

2121
/// The module component that shows the common of message in the channel.
22-
/// - Since: [NEXT_VERSION]
22+
/// - Since: 3.26.0
2323
public static var CommonComponent: SBUGroupChannelListModule.Common.Type = SBUGroupChannelListModule.Common.self
2424
}
2525

2626
// MARK: Header
2727
extension SBUGroupChannelListModule.Header {
2828
/// Represents the type of left bar button on the group channel list module.
29-
/// - Since: [NEXT_VERSION]
29+
/// - Since: 3.26.0
3030
public static var LeftBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self
3131

3232
/// Represents the type of right bar button on the group channel list module.
33-
/// - Since: [NEXT_VERSION]
33+
/// - Since: 3.26.0
3434
public static var RightBarButton: SBUBarButtonItem.Type = SBUBarButtonItem.self
3535

3636
/// Represents the type of title view on the group channel list module.
37-
/// - Since: [NEXT_VERSION]
37+
/// - Since: 3.26.0
3838
public static var TitleView: SBUNavigationTitleView.Type = SBUNavigationTitleView.self
3939
}
4040

4141
// MARK: List
4242
extension SBUGroupChannelListModule.List {
4343
/// Represents the type of empty view on the group channel list module.
44-
/// - Since: [NEXT_VERSION]
44+
/// - Since: 3.26.0
4545
public static var EmptyView: SBUEmptyView.Type = SBUEmptyView.self
4646

4747
/// Represents the type of channel cell on the group channel list module.
48-
/// - Since: [NEXT_VERSION]
48+
/// - Since: 3.26.0
4949
public static var ChannelCell: SBUBaseChannelCell.Type = SBUGroupChannelCell.self
5050
}
5151

@@ -59,27 +59,27 @@ extension SBUGroupChannelListModule.Common {
5959
/// SBUModuleSet.GroupChannelList.Common.CreateChannelTypeSelector = CustomTypeSelector.self
6060
/// ```
6161
/// - Note: To apply the custom type selector, assign your subclass of ``SBUCreateChannelTypeSelector`` to this property.
62-
/// - Since: [NEXT_VERSION]
62+
/// - Since: 3.26.0
6363
public static var CreateChannelTypeSelector: SBUCreateChannelTypeSelector.Type = SBUCreateChannelTypeSelector.self
6464
}
6565

6666
// MARK: typealias
6767
extension SBUModuleSet {
6868
// Module
6969
/// The class that represents the list of the group channel module
70-
/// - Since: [NEXT_VERSION]
70+
/// - Since: 3.26.0
7171
public typealias GroupChannelList = SBUGroupChannelListModule
7272

7373
// Components
7474
/// The module component that shows the header in the channel.
75-
/// - Since: [NEXT_VERSION]
75+
/// - Since: 3.26.0
7676
public typealias Header = SBUGroupChannelListModule.Header
7777

7878
/// The module component that shows the list of message in the channel.
79-
/// - Since: [NEXT_VERSION]
79+
/// - Since: 3.26.0
8080
public typealias List = SBUGroupChannelListModule.List
8181

8282
/// The module component that shows the common view in the channel.
83-
/// - Since: [NEXT_VERSION]
83+
/// - Since: 3.26.0
8484
public typealias Common = SBUGroupChannelListModule.Common
8585
}

0 commit comments

Comments
 (0)