Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 4.79 KB

examples.md

File metadata and controls

65 lines (43 loc) · 4.79 KB

FlexLayout and PinLayout Performance

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

  1. Open the Xcode project Example/SPM/FlexLayoutSample-SPM.xcodeproj.
  2. Select the FlexLayoutSample-SPM target.
  3. Run the app on your device or simulator.

Running the Cocoapods Example app

  1. Do a pod install from the Example/cocoapods directory.
  2. Open the newly generated FlexLayout.xcworkspace Xcode workspace.
  3. Select the FlexLayoutSample target.
  4. 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