LayoutKit
FlexLayout
LayoutKit | FlexLayout | |
---|---|---|
- | 1 | |
3,162 | 1,971 | |
- | 0.8% | |
1.1 | 8.5 | |
over 3 years ago | 19 days ago | |
Swift | Swift | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
LayoutKit
We haven't tracked posts mentioning LayoutKit yet.
Tracking mentions began in Dec 2020.
FlexLayout
-
Building Reddit’s Design System on iOS
We still wanted to leverage a layout engine that could be performant and easy-to-use. After doing some performance testing with native UIKit, Autolayout, and a few other third-party options, we ended up bringing FlexLayout into the mix, which is a Swift implementation of Facebook’s Yoga layout engine. All RPL components utilize FlexLayout in order to lay out content fast and efficiently. While we’ve enjoyed using it, we’ve found a few touch points to be mindful of. There are some rough edges we’ve found, such as utilizing stack views with subviews that use FlexLayout, that often come at odds with both UIKit and FlexLayout’s layout engines.
What are some alternatives?
SnapKit - A Swift Autolayout DSL for iOS & OS X
PinLayout - Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]
TinyConstraints - Nothing but sugar.
Cassowary - A Swift port of the Cassowary linear constraint solver
PureLayout - The ultimate API for iOS & OS X Auto Layout — impressively simple, immensely powerful. Objective-C and Swift compatible.
SwiftBox - Flexbox in Swift, using Facebook's css-layout.
ManualLayout - ✂ Easy to use and flexible library for manually laying out views and layers for iOS and tvOS. Supports AsyncDisplayKit.
Masonry - Harness the power of AutoLayout NSLayoutConstraints with a simplified, chainable and expressive syntax. Supports iOS and OSX Auto Layout
Stevia - :leaves: Concise Autolayout code
SwiftAutoLayout - Tiny Swift DSL for Autolayout