PinLayout v1.5.9 Release Notes

  • ๐Ÿš€ Released on 2018-02-18

    ๐Ÿ“Œ UIView.pin versus UIView.pinFrame

    ๐Ÿ“Œ Until now UIView.pin was used to layout views, but there's also another property called UIView.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.

    โž• Added by Luc Dion in Pull Request #122