Latest 1.0.0
Homepage https://github.com/guangmingzizai/FlexLayout-OC
License MIT
Platforms ios 8.0, requires ARC
Dependencies YogaKit
Authors

CI Status
Version
License
Platform

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

[email protected]

License

FlexLayout-OC is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "FlexLayout-OC",
    "version": "1.0.0",
    "platforms": {
        "ios": "8.0"
    },
    "summary": "FlexLayout-OC adds a nice Objective-C interface to the highly optimized facebook/yoga flexbox implementation. Concise, intuitive & chainable syntax.",
    "description": "FlexLayout-OC adds a nice Objective-C interface to the highly optimized Yoga flexbox implementation. Concise, intuitive & chainable syntax.nnFlexbox is an incredible improvement over UIStackView. It is simpler to use, much more versatile and amazingly performant.",
    "homepage": "https://github.com/guangmingzizai/FlexLayout-OC",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "wangjianfei": "[email protected]"
    },
    "source": {
        "git": "https://github.com/guangmingzizai/FlexLayout-OC.git",
        "tag": "1.0.0"
    },
    "source_files": "Sources/**/*.{swift,h,m,mm,cpp,c}",
    "libraries": "c++",
    "dependencies": {
        "YogaKit": [
            "~> 1.7"
        ]
    },
    "requires_arc": true,
    "compiler_flags": [
        "-fno-omit-frame-pointer",
        "-fexceptions",
        "-Wall",
        "-Werror",
        "-fPIC"
    ]
}

Pin It on Pinterest

Share This