PinLayout v1.5.9 Release Notes
-
๐ Released on 2018-02-18
๐
UIView.pin
versusUIView.pinFrame
๐ Until now
UIView.pin
was used to layout views, but there's also another property calledUIView.pinFrame
that does something slightly different in situations where the view has a transform (UIView.transform
, scaling, rotation, ...).pin
: Set the position and the size of the non-transformed view. The size and position is applied before the transform. This is particularly useful when you want to animate a view using a transform without modifying its layout..pinFrame
: Set the position and the size on the transformed view. The size and position is applied after the transform.
๐ See https://github.com/layoutBox/PinLayout#uiviews-transforms for more informations.