From b50090a04efe74bf5c6c6044838a5d9a1e940fae Mon Sep 17 00:00:00 2001 From: Dustin Shahidehpour Date: Tue, 8 Nov 2016 07:08:12 -0800 Subject: [PATCH] NSAssert -> NSCAssert. Summary: Not sure why this didn't catch during my testing, but, this causes a build error. #accept2ship Reviewed By: emilsjolander Differential Revision: D4143108 fbshipit-source-id: 01c35c5b91767c95485d615eb06e836b023e125a --- uikit/CSSLayout/UIView+CSSLayout.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uikit/CSSLayout/UIView+CSSLayout.m b/uikit/CSSLayout/UIView+CSSLayout.m index e85cf1d3..31cfbf1b 100644 --- a/uikit/CSSLayout/UIView+CSSLayout.m +++ b/uikit/CSSLayout/UIView+CSSLayout.m @@ -276,7 +276,7 @@ static CGFloat _roundPixelValue(CGFloat value) } static void _updateFrameRecursive(UIView *view) { - NSAssert([NSThread isMainThread], @"Framesetting should only be done on the main thread."); + NSCAssert([NSThread isMainThread], @"Framesetting should only be done on the main thread."); CSSNodeRef node = [view cssNode]; const CGPoint topLeft = {