FlexLayout-OC
FlexLayout-OC adds a nice Objective-C interface to the highly optimized Yoga flexbox implementation. Concise, intuitive & chainable syntax.
Flexbox is an incredible improvement over UIStackView. It is simpler to use, much more versatile and amazingly performant.
Yoga is a multiplatform CSS Flexbox implementation (iOS/Android/...). Yoga is also the layout engine of React Native.
If you need swift version, please visit FlexLayout.
Requirements
- iOS 8.0+
- Xcode 8.0+ / Xcode 9.0+
Documentation
FlexLayout-OC's API is same as FlexLayout, except some language differences.
Installation
FlexLayout-OC is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'FlexLayout-OC'
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Author
License
FlexLayout-OC is available under the MIT license. See the LICENSE file for more info.