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
YogaKit
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.