Remove assert in visibleStateDidChange: in ASCellNode (#1899)

This assertion is failing in some apps and will be enabled soon.
This commit is contained in:
Michael Schneider 2016-07-11 17:04:20 -07:00 committed by appleguy
parent 137c70647d
commit 93ee42db57

View File

@ -272,7 +272,8 @@
{
[super visibleStateDidChange:isVisible];
ASDisplayNodeAssert(self.isNodeLoaded, @"Node should be loaded in order for it to become visible or invisible. If not in this situation, we shouldn't trigger creating the view.");
// NOTE: This assertion is failing in some apps and will be enabled soon.
// ASDisplayNodeAssert(self.isNodeLoaded, @"Node should be loaded in order for it to become visible or invisible. If not in this situation, we shouldn't trigger creating the view.");
UIView *view = self.view;
CGRect cellFrame = CGRectZero;