Open piotrczurak opened 6 years ago
up
I have run into this as well. In general I think there are issues relating to RTL support and inverting offsets. I may be in a position to PR some changes around this. Would this get support? Any history I should be aware of?
I think https://github.com/roberthein/TinyConstraints/pull/31 is some of the history of this, but it has been a while.
Would you have time @crayment to create a proposal?
Why is offset value being manually inverted in
trailingToSuperView
andleadingToSuperview
functions basing oneffectiveUserInterfaceLayoutDirection
? I believe trailing/leading constraints are made precisely so that developers don't have to handle layout direction manually.