Files
yoga/YogaKit
Dustin Shahidehpour 55fe6f0bc9 Add isDirty property and make markDirty less crashy/more performant.
Summary: For some internal Instagram diffs, and some external ones (auto-detection of dirty nodes). We need to give the dirty properties a little love. This adds a getter to find out if your node is dirty, and makes sure that the leaf node is properly setup before it is marked dirty to prevent a crash.

Reviewed By: emilsjolander

Differential Revision: D4549241

fbshipit-source-id: 36eda6fdb4ea7f968d126aab6da67896f4a01d40
2017-02-13 10:26:58 -08:00
..
2017-01-27 10:09:48 -08:00
2017-01-27 10:09:48 -08:00
2017-02-11 14:12:51 -08:00

YogaKit

CocoaPods Platform Languages

Installation

YogaKit is available to install via CocoaPods.

pod 'YogaKit', '~> 1.1'

Getting Started

Checkout the docs here.

We also have a sample project. To try it out, clone this repo and open YogaKitSample.xcodeproj in the YogaKitSample directory.

Contributing

We welcome all pull-requests! At Facebook we sync the open source version of YogaKit daily, so we're always testing the latest changes.

See the CONTRIBUTING file for how to help out.