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 77
88import UIKit
99
10+ /// A view that displays the content view of a `UIContentConfiguration`.
1011class ContentConfigurationView : UIView {
12+
13+ /// The content view.
1114 var contentView : ( UIView & UIContentView )
1215
13- var contentConfiguration : UIContentConfiguration {
16+ /// The current content configuration.
17+ public var contentConfiguration : UIContentConfiguration {
1418 didSet {
1519 updateContentView ( )
1620 }
@@ -22,7 +26,8 @@ class ContentConfigurationView: UIView {
2226 addSubview ( withConstraint: contentView)
2327 }
2428
25- init ( configuration: UIContentConfiguration ) {
29+ /// Creates a view with the specified content configuration.
30+ public init ( configuration: UIContentConfiguration ) {
2631 self . contentConfiguration = configuration
2732 self . contentView = configuration. makeContentView ( )
2833 super. init ( frame: . zero)
You can’t perform that action at this time.
0 commit comments