[ASLayout] Add additional validation step to intercept incorrect values in production and safely zero them out.

These conditions already had assertions, but at runtime, an insufficiently tested and incorrect ASLayoutSpec could
generate values that cause UIKit to enter an infinite loop (e.g. inside of UICollectionView layout validation).
This commit is contained in:
Scott Goodson
2016-04-10 16:42:22 -07:00
parent c94490f7bb
commit 678c201dbc
4 changed files with 24 additions and 2 deletions

View File

@@ -8,6 +8,8 @@
*
*/
#pragma once
#import <UIKit/UIKit.h>
#import <AsyncDisplayKit/ASAssert.h>
#import <AsyncDisplayKit/ASLayoutable.h>