mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-15 18:59:54 +00:00
[ASCellNode] Improve documentation, remove unused ivar
This commit is contained in:
parent
896f0adcaf
commit
afc70b90ab
@ -79,16 +79,16 @@ typedef NSUInteger ASCellNodeAnimation;
|
||||
- (void)setNeedsLayout;
|
||||
|
||||
/**
|
||||
* @abstract Initializes a cell with a given viewControllerBlock.
|
||||
* @abstract Initializes a cell with a given view controller block.
|
||||
*
|
||||
* @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
|
||||
* @param viewControllerBlock The block that will be used to create the backing view controller.
|
||||
* @param didLoadBlock The block that will be called after the view controller's view 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;
|
||||
- (instancetype)initWithViewControllerBlock:(ASDisplayNodeViewControllerBlock)viewControllerBlock didLoadBlock:(nullable ASDisplayNodeDidLoadBlock)didLoadBlock;
|
||||
|
||||
- (void)visibleNodeDidScroll:(UIScrollView *)scrollView withCellFrame:(CGRect)cellFrame;
|
||||
|
||||
|
||||
@ -20,7 +20,6 @@
|
||||
|
||||
@interface ASCellNode ()
|
||||
{
|
||||
UIViewController *_viewController;
|
||||
ASDisplayNode *_viewControllerNode;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user