mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Merge branch 'master' into update-objc
Conflicts: AsyncDisplayKit/Private/ASDisplayNode+FrameworkPrivate.h
This commit is contained in:
@@ -95,6 +95,18 @@ typedef NSUInteger ASCellNodeAnimation;
|
||||
*/
|
||||
- (void)setNeedsLayout;
|
||||
|
||||
/**
|
||||
* @abstract Initializes a cell with a given viewControllerBlock.
|
||||
*
|
||||
* @param viewBlock The block that will be used to create the backing view.
|
||||
* @param didLoadBlock The block that will be called after the view created by the viewBlock is loaded
|
||||
*
|
||||
* @return An ASCellNode created using the root view of the view controller provided by the viewControllerBlock.
|
||||
* The view controller's root view is resized to match the calcuated size produced during layout.
|
||||
*
|
||||
*/
|
||||
- (instancetype)initWithViewControllerBlock:(ASDisplayNodeViewControllerBlock)viewControllerBlock didLoadBlock:(ASDisplayNodeDidLoadBlock)didLoadBlock;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user