Skip to content

Releases: layoutBox/FlexLayout

Add support for SPM dynamic linking + Fix error when dynamically removing views

Choose a tag to compare

@lucdion lucdion released this 20 Dec 14:14

Add support for SPM dynamic linking

This allows users to link FlexLayout as a dynamic framework when needed for their specific use cases.

Added by heoblitz in Pull Request #284

Fix error when dynamically removing views

Currently, FlexLayout does not guarantee that the UIView hierarchy state matches the Yoga node structure. This is because nodes are only updated during the layout process by following the UIView hierarchy.
When a child UIView is dynamically removed and markDirty() is called, it causes an error and terminates the program because it doesn't align with Yoga's logic.

In React Native's case, views that become leaves are fixed and used consistently, but FlexLayout allows any UIView to become a leaf. Therefore, we add defensive code to prevent logical errors.

Added by heoblitz in Pull Request #281

Support Swift 6

Choose a tag to compare

@lucdion lucdion released this 23 Jul 12:16

Added by heoblitz in Pull Request #271

Fix build failure issue on Carthage

Choose a tag to compare

@lucdion lucdion released this 07 Jun 22:19

#275

Since version 2.1.0, Yoga is managed as a separate dependency, so the project cannot be built on its own. Therefore, it cannot be used with Carthage.

Providing a pre-built static framework or adopting a different structure would require significant changes.
Instead, this PR updates the guide and some settings to maintain the current project structure while enabling Carthage support.

Upgrade yoga to v3.2.1

Choose a tag to compare

@lucdion lucdion released this 20 Mar 01:05

Added by OhKanghoon in Pull Request #271

Upgrade yoga to v3.1.0

Choose a tag to compare

@lucdion lucdion released this 20 Nov 16:38
0ceb4f5

Added by OhKanghoon in Pull Request #266

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

Choose a tag to compare

@lucdion lucdion released this 25 Jun 12:15

Added by OhKanghoon in Pull Request #255

Add `static` position feature

Choose a tag to compare

@lucdion lucdion released this 16 Jun 14:59

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

Choose a tag to compare

@lucdion lucdion released this 15 Jun 00:04

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

Update yoga to version 3.0.4

Choose a tag to compare

@lucdion lucdion released this 13 Jun 12:49

Update yoga to version 3.0.4

Added by heoblitz in Pull Request #245

Remove FlexLayoutYoga duplicate dependency in Swift Package

Choose a tag to compare

@lucdion lucdion released this 22 Feb 14:06

Added by OhKanghoon in Pull Request #245