PinLayout v1.2.4 Release Notes

  • 🔄 Change

    • ➕ Add methods to pin hCenter and vCenter to any other view's edges (including the new hCenter and vCenter edges)
      • New methods:
        • hCenter(to: edge)
          Position horizontally the view's center directly on another view’s edge (left/hCenter/right)
        • vCenter(to: edge)
          Position vertically the view's center directly on another view’s edge (top/vCenter/bottom).
      • New UIView's edges:
        • UIView.edge.hCenter
        • UIView.edge.vCenter
      • Added by Luc Dion in Pull Request #80