FlexLayout
FlexLayout copied to clipboard
FlexLayout adds a nice Swift interface to the highly optimized facebook/yoga flexbox implementation. Concise, intuitive & chainable syntax.
In the sample project, the last UITextView cannot edit and select text The file directory is /FlexLayout/Example/FlexLayoutSample/UI/Examples/YogaExampleF/YogaExampleFView.swift Line 145 iPhone12, iOS17.3.1 macOS14.3, Xcode15.2 ```swift $0.addItem().direction(.row).alignItems(.baseline).marginBottom(20).define { let label = UILabel()...
Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) 
The code is simple: ```swift class Example1ViewController: UIViewController { let root = UIView() override func viewDidLoad() { super.viewDidLoad() view.addSubview(root) root.flex .direction(.row) .wrap(.wrap) .define { flex in for _ in 0...7...
I've tried a few different things... (like using Buttons instead of views) but I still haven't figured-out a reliable way to a push a viewcontroller from a FlexLout. I've figured...
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.6 to 3.3.6. Release notes Sourced from rexml's releases. REXML 3.3.6 - 2024-08-22 Improvements Removed duplicated entity expansions for performance. GH-194 Patch by Viktor Ivarsson. Improved namespace...
Hi, I wanted to ask if there are any plans to add generic support to FlexLayout. This would allow for more flexible usage, such as the following code example: ```swift...
I usually use method #1 when I want to calculate the size of a view with a fixed width and maximum height, just like a 'UILabel'. However, when I tried...
If it is a multi row layout, how to set the gap combination percentage Expectation: Two columns per row, for a total of two rows Actual: Only one column ```...
# What is this PR? 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...