novoda / novoda-constraints

Autolayout Cocoapod used in Novoda projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow for constraints to be applied to more complex hierarchies

simonrowlands opened this issue · comments

commented

Currently the constraint library allows for two views within the same parent view to have constraints to each other by applying the constraint to the parent view.

We do not allow for two views within the same subtree, but with different parent views, to apply constraints to each other.

The way to resolve this is to apply the constraints to the top-most common superview in the tree.

Screenshot 2019-04-25 at 16 31 28