Releases: layoutBox/FlexLayout
Add support for SPM dynamic linking + Fix error when dynamically removing views
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.
Support Swift 6
Fix build failure issue on Carthage
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
Added by OhKanghoon in Pull Request #271
Upgrade yoga to v3.1.0
Added by OhKanghoon in Pull Request #266
Support `align-content`: `space-evenly`
Added by OhKanghoon in Pull Request #255
Add `static` position feature
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
Increase version to 2.0.8 to fix issue with SPM
Increase version to 2.0.8 to fix issue with SPM (#253)
Update yoga to version 3.0.4
Remove FlexLayoutYoga duplicate dependency in Swift Package
Added by OhKanghoon in Pull Request #245