diff --git a/CHANGELOG.md b/CHANGELOG.md index d70f9fc7..5ab368fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ - **Added**: `ViewAppearance` and `ViewLayout` models for setting up Views' appearance and layout - **Added**: `TableKit.Row` extension for configuration inner View's appearance and layout +- **Added**: `WrappableView` with typealiases for creating wrapped in the container views +- **Added**: `CollectionTableViewCell` and `ContainerView` +- **Update**: Separator appearance configureation for table views ### 1.32.0 diff --git a/TIUIElements/Sources/Separators/SeparatorAppearance.swift b/TIUIElements/Sources/Separators/SeparatorAppearance.swift index e5dfec36..ee4914f0 100644 --- a/TIUIElements/Sources/Separators/SeparatorAppearance.swift +++ b/TIUIElements/Sources/Separators/SeparatorAppearance.swift @@ -1,5 +1,5 @@ // -// Copyright (c) 2020 Touch Instinct +// Copyright (c) 2023 Touch Instinct // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the Software), to deal diff --git a/TIUIElements/Sources/Wrappers/Containers/CollectionTableViewCell.swift b/TIUIElements/Sources/Wrappers/Containers/CollectionTableViewCell.swift index 927a58ea..abf70b41 100644 --- a/TIUIElements/Sources/Wrappers/Containers/CollectionTableViewCell.swift +++ b/TIUIElements/Sources/Wrappers/Containers/CollectionTableViewCell.swift @@ -29,6 +29,7 @@ open class CollectionTableViewCell: ContainerT open override func systemLayoutSizeFitting(_ targetSize: CGSize, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority, verticalFittingPriority: UILayoutPriority) -> CGSize { + let cachedCollectionFrame = wrappedView.frame wrappedView.frame.size.width = targetSize.width - contentInsets.left - contentInsets.right let collectionContentHeight = wrappedView.collectionViewLayout.collectionViewContentSize.height