diff --git a/AsyncDisplayKit/ASDisplayNode+Beta.h b/AsyncDisplayKit/ASDisplayNode+Beta.h index 9302b9cf2b..ca3e2ff0d1 100644 --- a/AsyncDisplayKit/ASDisplayNode+Beta.h +++ b/AsyncDisplayKit/ASDisplayNode+Beta.h @@ -28,8 +28,7 @@ ASDISPLAYNODE_EXTERN_C_END * Note that even if AsyncDisplayKit's exception is suppressed, the app may still crash * as it proceeds with an invalid update. * - * This currently defaults to YES. In a future release it will default to NO and later - * be removed entirely. + * This property defaults to NO. It will be removed in a future release. */ + (BOOL)suppressesInvalidCollectionUpdateExceptions; + (void)setSuppressesInvalidCollectionUpdateExceptions:(BOOL)suppresses; diff --git a/AsyncDisplayKit/ASDisplayNode.mm b/AsyncDisplayKit/ASDisplayNode.mm index 5a2e862302..c353908628 100644 --- a/AsyncDisplayKit/ASDisplayNode.mm +++ b/AsyncDisplayKit/ASDisplayNode.mm @@ -77,7 +77,7 @@ NSString * const ASRenderingEngineDidDisplayNodesScheduledBeforeTimestamp = @"AS @synthesize isFinalLayoutable = _isFinalLayoutable; @synthesize threadSafeBounds = _threadSafeBounds; -static BOOL suppressesInvalidCollectionUpdateExceptions = YES; +static BOOL suppressesInvalidCollectionUpdateExceptions = NO; + (BOOL)suppressesInvalidCollectionUpdateExceptions {