PinLayout v1.8.2 Release Notes

Release Date: 2018-08-25 // over 5 years ago
  • โž• Add properties:

    ๐Ÿ“Œ pin.readableMargins: UIEdgeInset :
    ๐Ÿ“š PinLayout's UIView.pin.readableMargins property expose UIKit UIView.readableContentGuide as an UIEdgeInsets. This is really useful since UIKit only expose the readableContent area to Auto Layout using UILayoutGuide.

    ๐Ÿ“Œ pin.layoutmargins: UIEdgeInset
    ๐Ÿ“š PinLayout's UIView.pin.layoutMargins property expose directly the value of UIKit UIView.layoutMargins. The property exists only to be consistent with the other areas: pin.safeArea, pin.readableMargins and pin.layoutmargins. So its usage is not necessary.

    โž• Add examples using these properties:
    pinlayout_example_layout_margins_all

    pinlayout_example_tableview_readable_content_all