FlexLayout and PinLayout Performance

FlexLayout

Change Log

1.3.33

Released on 2023-06-24

Resolve lldb debug issue when using CocoaPods

Background

Changes

// in Package.swift
.target(
  name: "SomeTarget",
  dependencies: [
    "FlexLayout",
  ],
  cSettings: [
    .define("FLEXLAYOUT_SWIFT_PACKAGE"),
  ],
  cxxSettings: [
    .define("FLEXLAYOUT_SWIFT_PACKAGE"),
  ],
  swiftSettings: [
    .define("FLEXLAYOUT_SWIFT_PACKAGE"),
  ]
)

Added by OhKanghoon in Pull Request #226

1.3.32

Released on 2023-05-10

Fixes an issue where YGApplyLayoutToViewHierarchy assigns a value to frame.size that does not rounded to the pixel grid

Added by Dongkyu Kim in Pull Request #225

1.3.31

Released on 2023-04-12

Fix for Swift 5.8

Added by Rachik Abidi in Pull Request #223

1.3.30

Released on 2023-02-28

Fixes issue while including FlexLayout as a dependency of another Swift Package

Fixes issue #219 where including FlexLayout as a dependency of another swift package would fail to build - because it isn't possible to set the preprocessor definition FLEXLAYOUT_SWIFT_PACKAGE without an Xcode project.

Added by Luke Wakeford in Pull Request #221

1.3.29

Released on 2023-02-28

Add border(_ width: CGFloat, _ color: UIColor)

Added by gyuchan in Pull Request #216

1.3.28

Released on 2023-02-25

Add Flex.direction property

Added by gyuchan in Pull Request #213

1.3.27

Released on 2023-01-20

Round pixel values of intrinsicSize with YGRoundPixelValue

Added by Dongkyu Kim in Pull Request #210

1.3.26

Released on 2023-01-20

Fixed crash with nan dimensions

Added by iohin in Pull Request #211

1.3.25

Released on 2022-12-23

Add flex.cornerRadius(_ value: CGFloat) function

Added by minhaaan in Pull Request #209

1.3.24

Released on 2022-04-08

Change the access control of margin padding functions

Added by OhKanghoon in Pull Request #199

1.3.23

Released on 2021-11-22

Percent padding support.

New methods:

Added by albertocs-noma in Pull Request #159

1.3.22

Released on 2021-10-25

1.3.20

Released on 2020-05-29

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

Added by Michael Ong in Pull Request #159

1.3.18

Released on 2020-05-01

Adds Swift Package Manager Support

Added by gcox in Pull Request #150

1.3.17

Released on 2019-10-090

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

Added by Kuluum in Pull Request #146

1.3.16

Released on 2019-08-03

1.3.15

Released on 2019-06-07

1.3.14

Released on 2019-05-17

Add method:

1.3.11

Released on 2018-08-09

Fix top padding in method padding(_ top: CGFloat, _ left: CGFloat, _ bottom: CGFloat, _ right: CGFloat).

1.3.10

Released on 2018-07-24

Add cocoapods c++ library dependency to the podspec file. Required to avoid possible linking errors.

1.3.9

Released on 2018-05-31

Removed alignItems .baseline mode which is not currently supported by Yoga. So we remove it from the list of supported mode until Yoga support it.

1.3.8

Released on 2018-05-09

Add display(:Display) method to set the Yoga's display property.

1.3.7

Released on 2018-05-01

Upgrade to Swift 4.1

1.3.6

Released on 2018-04-16

Update the Podspec minimum iOS platform to 8.0

1.3.5

Released on 2018-03-06

Add supports for spaceEvenly justifyContent mode

Flex view's getter is public once again.

1.3.4

Released on 2018-03-05

Fix retain cycle

1.3.3

Released on 2018-02-28

Fix Yoga's rounding issues

1.3.2

Released on 2018-02-27

Update Yoga core to latest master

1.3.1

Released on 2018-02-23

Integrates Yoga's sources into FlexLayout

1.2.2

Released on 2017-12-20

Add margins methods taking percentage parameters:

1.2.1

Released on 2017-11-23

Update Carthage support

1.2.0

Released on 2017-11-23

Many properties can be reset to their initial state. Specifying nil when calling these properties reset their value:

FlexLayout now integrates YogaKit source code, this was needed to improve efficiently the iOS's yoga interface.

1.1.8

Released on 2017-11-23

AspectRatio can now be reset. Simply call aspectRatio(nil).

1.1.4

Released on 2017-10-31

Add new margin methods:

Add new padding methods:

1.1.4

Released on 2017-10-17

1.1.3

Released on 2017-10-02

1.1.0

Released on 2017-08-23

1.0.0

Released on 2017-08-20

0.1.1

Released on 2017-08-02