I have the following ViewController, with 3 UIViews and content inside. The red lines are my constraints.
The black one has always a fixed height.
The red UIView has a CollectionView inside, which will grow, depending on it's items.
The green is a UITableView which should shrink, depending on the size of the red UICollectionView.
I tried to set the height constraint of the red (UICollectionView) to greater than or equal, and the green (UITableView) height to less than or equal, but Swift is telling me to set a x or height value.
What is the correct approach to get two dynamic Views inside my ViewController?