Summary: Changes so we are able to reset properties to their initial value. This is required to reset these properties. Add the support of YGUnitUndefined to many properties: * minWidth * maxWidth * minHeight * maxHeight Also, these properties must be reset to YGUnitAuto. * width * height * flexBasis This now matches completely how these properties are initialized in Yoga.cpp Closes https://github.com/facebook/yoga/pull/672 Reviewed By: dshahidehpour Differential Revision: D6407908 Pulled By: emilsjolander fbshipit-source-id: ac20c7b2c06349115aea7d31240204d17e2f1b44
YogaKit
Installation
YogaKit is available to install via CocoaPods.
pod 'YogaKit', '~> 1.7'
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.md file for how to help out.