docs: added change log information

This commit is contained in:
Nikita Semenov 2023-02-10 16:28:53 +03:00
parent c5209dc9f6
commit 4e1270205e
3 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -29,6 +29,7 @@ open class CollectionTableViewCell<CollectionView: UICollectionView>: 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