Closed samuelbeek closed 8 years ago
By using the ...-postfix we can have an unlimited amount of views inside the constrain() function. So we can do this:
...
constrain()
constrain(UView(), UIView(), UIView(), UIView(), UIView(), UIView(), UIView(), UIView(), UIView()) { view1, view2, view3, view4, view5, view6, view7, view8, view9 in }
I found out about this behavior in the through the print function.
print
Oh, didn't test it well enough.
By using the
...
-postfix we can have an unlimited amount of views inside theconstrain()
function. So we can do this:I found out about this behavior in the through the
print
function.