Add experiment to skip creating UIViews altogether for constants (#881)

* Add experiment to skip creating UIViews altogether for constants

* Update changelog

* Do it right

* Annotate function

* Skip all the work entirely
This commit is contained in:
Adlai Holler
2018-04-12 10:14:29 -07:00
committed by GitHub
parent 0aefbb65ba
commit 071bd7379f
5 changed files with 38 additions and 18 deletions

View File

@@ -24,6 +24,7 @@ typedef NS_OPTIONS(NSUInteger, ASExperimentalFeatures) {
ASExperimentalTextNode = 1 << 1, // exp_text_node
ASExperimentalInterfaceStateCoalescing = 1 << 2, // exp_interface_state_coalesce
ASExperimentalUnfairLock = 1 << 3, // exp_unfair_lock
ASExperimentalLayerDefaults = 1 << 4, // exp_infer_layer_defaults
ASExperimentalFeatureAll = 0xFFFFFFFF
};