PinLayout v1.2.0 Release Notes

  • ๐Ÿš€ Released on 2017-08-18.

    ๐Ÿ”„ Change

    • ๐Ÿ’ฅ Breaking change related to the following anchor's name. The change makes these anchor's name more standard:

      • UIView.anchors.leftCenter has been renamed UIView.anchors.centerLeft
      • UIView.anchors.rightCenter has been renamed UIView.anchors.centerRight
    • โž• Add left to right (LTR) and right to left (RTL) language support.
      โž• Additions:

      • Pin.layoutDirection(_ direction: LayoutDirection)
      • start(), start(_ value: CGFloat), start(_ percent: Percent)
      • end(), end(_ value: CGFloat), end(_ percent: Percent)
      • UIView.edge.start
      • UIView.edge.end
      • UIView.anchor.topStart
      • UIView.anchor.topEnd
      • UIView.anchor.centerStart
      • UIView.anchor.centerEnd
      • UIView.anchor.bottomStart
      • UIView.anchor.bottomEnd
      • topStart(to anchor: Anchor), topStart()
      • topEnd(to anchor: Anchor), topEnd()
      • centerStart(to anchor: Anchor), centerStart()
      • centerEnd(to anchor: Anchor), centerEnd()
      • bottomStart(to anchor: Anchor), bottomStart()
      • bottomEnd(to anchor: Anchor), bottomEnd()
      • before(of: UIView), before(of: [UIView])
      • before(of: UIView, aligned: VerticalAlign), before(of: [UIView], aligned: VerticalAlign)
      • after(of: UIView), after(of: [UIView])
      • after(of: UIView, aligned: VerticalAlign), after(of: [UIView], aligned: VerticalAlign)
      • marginStart(_ value: CGFloat)
      • marginEnd(_ value: CGFloat)
      • HorizontalAlign.start
      • HorizontalAlign.end
      • Added by Luc Dion in Pull Request #56