[ASCellNode] Layout delegate should not be public as it must not be reset externally.

Do not call layout delegate method before the cell node is loaded.  This can happen if
application code calls -setNeedsLayout on the cell manually, and can confuse UIKit state
because we submit an empty batch update call on the next runloop.
This commit is contained in:
Scott Goodson
2016-02-20 15:24:44 -08:00
parent ca8357a364
commit d899f12f70
5 changed files with 27 additions and 22 deletions

View File

@@ -10,6 +10,7 @@
#import "ASAssert.h"
#import "ASBatchFetching.h"
#import "ASCellNode+Internal.h"
#import "ASChangeSetDataController.h"
#import "ASDelegateProxy.h"
#import "ASDisplayNode+Beta.h"