Skip to content

Releases: layoutBox/FlexLayout

Upgrade yoga to v3.1.0

20 Nov 16:38
0ceb4f5
Compare
Choose a tag to compare

Support `align-content`: `space-evenly`

25 Jun 12:15
Compare
Choose a tag to compare

Add `static` position feature

16 Jun 14:59
Compare
Choose a tag to compare

Add feature for the static position supported in Yoga version 3.0.0.

  • Due to the default behavior of Yoga, insets like top, left, bottom, and right also affect relative position view. Accordingly, the README, docs and comments have been updated to match the Yoga specifications.
  • Added static case to position and unit tests.

https://www.yogalayout.dev/docs/styling/position
https://www.yogalayout.dev/docs/styling/insets

Added by heoblitz in Pull Request #245

Increase version to 2.0.8 to fix issue with SPM

15 Jun 00:04
Compare
Choose a tag to compare

Increase version to 2.0.8 to fix issue with SPM (#253)

Update yoga to version 3.0.4

13 Jun 12:49
Compare
Choose a tag to compare

Update yoga to version 3.0.4

Added by heoblitz in Pull Request #245

Remove FlexLayoutYoga duplicate dependency in Swift Package

22 Feb 14:06
Compare
Choose a tag to compare

Fix error that occur when creating XCFramework

14 Feb 00:12
Compare
Choose a tag to compare

Background

  • Public header issue occurs when using Objective-C package in Tuist's Dependency. To resolve this issue, I want to provide xcframework.
  • Resolve the issue that occurs when creating xcframework due to duplicate 'postfix operator %'.

Contents

  • remove unnecessary files and headers
    • Modified to manage yoga directly in FlexLayout. Buck dependency is now unnecessary.
  • remove duplicated postfix operator
  • update Podfile.lock
  • remove Info.plist
  • move FlexLayout.h to public header directory

Added by OhKanghoon in Pull Request #244

Add `Gap` support + Fix "Child already has a owner" Assert

11 Jan 13:41
Compare
Choose a tag to compare

1) Add Gap support

Add Gap methods:

  • columnGap(_ value: CGFloat) -> Flex
  • rowGap(_ value: CGFloat) -> Flex
  • gap(_ value: CGFloat) -> Flex
background

After Yoga layout updated to 2.0.0 the gap func added. and as needed by this issue and my company's product, me and my partner @TaekH made feature to use. 🙇‍♂️

Added by Buseong Kim in Pull Request #241

2) Fix "Child already has a owner" Assert

Upgrading to the latest version of Yoga introduced an assert in YGNodeInsertChild() that was previously removed accidentally (see relevant commit). This assert will throw an error if the node we are trying to add already has an owner. Unfortunately, we can fall into this case quite easily if we move a view between different superviews (as demonstrated in the following contrived example).

Restoring the changes from this old commit c303faa should ensure that any lingering parent references are cleaned up before we call YGNodeInsertChild()

Added by kennethpu in Pull Request #242

Enhance Swift Package experience + Examples update

06 Jan 18:47
Compare
Choose a tag to compare

Enhance Swift Package experience

  • Change the Swift Package Manager to be available without FLEXLAYOUT_SWIFT_PACKAGE flag
  • add public header path
  • remove FLEXLAYOUT_SWIFT_PACKAGE
  • remove library for internal (FlexLayoutYoga, FlexLayoutYogaKit)
  • move the unit test to the swift package with XCTest

Added by OhKanghoon in Pull Request #232

Split the Example project in 2 projects (Cocoapods & SPM)

Split the Example project in 2 projects:

  • FlexLayoutSample: Use cocoapods dependency manager
  • FlexLayoutSample-SPM: Use SPM (Swift Packager Manager) dependency manager

Added by Luc Dion in Pull Request #240

Fix the crash that occurs when the node's topLeft position is nan

15 Oct 14:35
Compare
Choose a tag to compare