File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Sources/AdvancedCollectionTableView-iOS/Shared Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 7
7
8
8
import UIKit
9
9
10
+ /// A view that displays the content view of a `UIContentConfiguration`.
10
11
class ContentConfigurationView : UIView {
12
+
13
+ /// The content view.
11
14
var contentView : ( UIView & UIContentView )
12
15
13
- var contentConfiguration : UIContentConfiguration {
16
+ /// The current content configuration.
17
+ public var contentConfiguration : UIContentConfiguration {
14
18
didSet {
15
19
updateContentView ( )
16
20
}
@@ -22,7 +26,8 @@ class ContentConfigurationView: UIView {
22
26
addSubview ( withConstraint: contentView)
23
27
}
24
28
25
- init ( configuration: UIContentConfiguration ) {
29
+ /// Creates a view with the specified content configuration.
30
+ public init ( configuration: UIContentConfiguration ) {
26
31
self . contentConfiguration = configuration
27
32
self . contentView = configuration. makeContentView ( )
28
33
super. init ( frame: . zero)
You can’t perform that action at this time.
0 commit comments