Skip to content

Releases: layoutBox/FlexLayout

Change the access control of margin padding functions

08 Apr 15:51
Compare
Choose a tag to compare

Change the access control of margin padding functions

Added by OhKanghoon in Pull Request #199

Percent padding support

22 Nov 18:25
Compare
Choose a tag to compare

Percent padding support.

New methods:

  • paddingTop(_ percent: FPercent)**
  • paddingLeft(_ percent: FPercent)**
  • paddingBottom(_ percent: FPercent)**
  • paddingRight(_ percent: FPercent)**
  • paddingStart(_ percent: FPercent)**
  • paddingEnd(_ percent: FPercent)**
  • paddingHorizontal(_ percent: FPercent)**
  • paddingVertical(_ percent: FPercent)**

Added by albertocs-noma in Pull Request #159

Update project

21 May 00:19
Compare
Choose a tag to compare
  • Update to Xcode 12.5
  • Update to Swift 5
  • Update gems
  • Update cocoapods

Add baseline item support

29 May 17:44
Compare
Choose a tag to compare

Add baseline item support.
Note that for now baseline support is only for the first baseline.

Added by Michael Ong in Pull Request #159

Adds Swift Package Manager Support

01 May 14:11
397dbe6
Compare
Choose a tag to compare

Adds Swift Package Manager Support

Added by gcox in Pull Request #150

Add new methods to position items in absolute positionning

09 Oct 12:43
Compare
Choose a tag to compare

Add new methods to position items in absolute positionning (https://github.com/layoutBox/FlexLayout#4-absolute-positioning):

  • vertically(: CGFloat) / vertically(: FPercent):
    Controls the distance child’s top and bottom edges from the parent’s edges. Equal to top().bottom().
  • horizontally(: CGFloat) / horizontally(: FPercent):
    Controls the distance child’s left and right edges from the parent’s edges. Equal to left().right().
  • all(: CGFloat) / all(: FPercent):
    Controls the distance child’s edges from the parent’s edges. Equal to top().bottom().left().right().

Added by Kuluum in Pull Request #146

Delegate isIncludedInLayout to yoga vs using default value

03 Aug 22:02
Compare
Choose a tag to compare

1.3.16

Released on 2019-08-03

  • Delegate isIncludedInLayout to yoga vs using default value:
    Previously the value of isIncludedInLayout may have not reflect what the underlying yoga value is as the developer may have manipulated the yoga value directly. This could potentially leave the Flex initial value out of sync. This change defers the get/set of this property to yoga.

Update to Swift 4.2 + Fix public extension warning

08 Jun 00:42
Compare
Choose a tag to compare

1.3.15

Released on 2019-06-07

  • Fix public extension warning
  • Update to Swift 4.2
  • Update cocoapods to 1.7

Add method `basis(_ : FPercent)`

17 May 12:31
Compare
Choose a tag to compare

Add method basis(_ : FPercent). This method is similar to basis(_ : CGFloat?) but takes a percentage parameter.

Update documentation

06 Feb 14:40
Compare
Choose a tag to compare

Changes:

  • Update shrink() method documentation.
  • Update bundles.