Skip to content

Releases: layoutBox/PinLayout

Fix missing UIKit import

Choose a tag to compare

@lucdion lucdion released this 14 Jul 18:02

Changes:

  • Fix missing UIKit import. The problem was occurring while using Swift Package Manager.

Implementation of minWidth / maxWidth / minHeight / maxHeight / justify / align

Choose a tag to compare

@lucdion lucdion released this 10 Jul 00:51

Implementation of:

  • minWidth
  • maxWidth
  • minHeight
  • maxHeight
  • justify(:HorizontalAlign)
  • align(:VerticalAlign)

Support Xcode 9 Beta 2

Choose a tag to compare

@lucdion lucdion released this 27 Jun 12:15
1.1.1

Update version to 1.1.1

Update relative methods signatures when specifying multiple relative views

Choose a tag to compare

@lucdion lucdion released this 18 Jun 20:20

Update the minor version due to a small breaking change with methods above(of…), below(of…), left(of…) and right(of…). They now takes either a single UIView or an Array of UIViews.

Add tvOS support & set iOS target to 8.0 (instead of 10.2)

Choose a tag to compare

@lucdion lucdion released this 16 Jun 19:01
1.0.15

Update version to 1.0.15

Implementation of relative positioning using multiple relative views

Choose a tag to compare

@lucdion lucdion released this 13 Jun 02:07

Change

  • Implementation of relative positioning using multiple relative views
    • Added by Luc Dion in Pull Request #43
    • The following methods can now receives one or many relative views. Useful to position a view relative to many UIViews.
      • above(of relativeViews: UIView...)
      • above(of relativeViews: UIView..., aligned: HorizontalAlignment)
      • below(of relativeViews: UIView...)
      • below(of relativeViews: UIView..., aligned: HorizontalAlignment)
      • left(of relativeViews: UIView...)
      • left(of relativeViews: UIView..., aligned: VerticalAlignment)
      • right(of relativeViews: UIView...)
      • right(of relativeViews: UIView..., aligned: VerticalAlignment)

Swift Package Manager support + size(…) method update

Choose a tag to compare

@lucdion lucdion released this 12 Jun 17:53
  • size(…) methods now tries to apply the width and the height individually
    Previously the size specified was applied only if both the width and height wasn’t specified. Now PinLayout will apply them individually, so if the width has been specified yet, the size’s width will be applied, else a warning will be displayed that indicate that the width won’t be applied. Same thing for the height.

  • Add Swift Package Manager support

  • Doesn’t display a warning anymore if the new specified width or height value is equal to the currently set value. This is coherent with other methods (top, left, hCenter, ….)

  • Clean up size(...) methods source code

  • Add PinLayout's performance documentation

Fix an issue with pin.vCenter() and pin.hCenter()

Choose a tag to compare

@lucdion lucdion released this 06 Jun 19:27

Fix an issue with pin.vCenter() and pin.hCenter()

1.0.6: Merge pull request #32 from mirego/add_more_unit_tests_and_doc

Choose a tag to compare

@lucdion lucdion released this 06 Jun 02:22

Removed center alignment when distributing sizeToFit() extra width/height.

Fixes + Update Doc

Choose a tag to compare

@lucdion lucdion released this 05 Jun 14:04
  • Fix sizeToFit() method when margins was specified.
  • sizeToFit() adjusted extra size is now distributed correctly to match the layout.
  • Fix margins issues in some usage utilisation
  • Add a generic intro example in the documentation.
  • Update sample app