examples.md
January 10, 2024 ยท View on GitHub
FlexLayout Examples
The FlexLayout's Example exposes some usage example of FlexLayout.
The Example App is available in 2 versions:
Running the SPM (Swift Package Manager) Example app
- Open the Xcode project
Example/SPM/FlexLayoutSample-SPM.xcodeproj. - Select the
FlexLayoutSample-SPMtarget. - Run the app on your device or simulator.
Running the Cocoapods Example app
- Do a
pod installfrom theExample/cocoapodsdirectory. - Open the newly generated
FlexLayout.xcworkspaceXcode workspace. - Select the
FlexLayoutSampletarget. - Run the app on your device or simulator.
Intro Example
FlexLayout introduction example.
Source code
Ray Wenderlich Yoga Tutorial
An implementation of the Ray Wenderlich Yoga Tutorial. This example is the most complete one.
Source code
UITableView with variable size cells.
This example show how FlexLayout can be used to layout UITableView cells that have variables sizes.
Source code
UICollectionView with variable size cells
This example show how FlexLayout can be used to layout UICollectionView cells that have variables sizes.
Source code
Yoga's examples Implementation
Implementation of all Yoga's examples
| C | ![]() | Source code |
|---|---|---|
| Obj-C | ![]() | Source code |
| Java | ![]() | Source code |
| C# | ![]() | Source code |
| Android | ![]() | Source code |








