mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-09 06:00:43 +00:00
Conflicts: AsyncDisplayKit/ASDisplayNode+Subclasses.h AsyncDisplayKit/ASMultiplexImageNode.h AsyncDisplayKit/ASViewController.h AsyncDisplayKit/Details/ASDataController.h
27 lines
725 B
Objective-C
27 lines
725 B
Objective-C
//
|
|
// ASViewController.h
|
|
// AsyncDisplayKit
|
|
//
|
|
// Created by Huy Nguyen on 16/09/15.
|
|
// Copyright (c) 2015 Facebook. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import <AsyncDisplayKit/ASDisplayNode.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface ASViewController : UIViewController
|
|
|
|
@property (nonatomic, strong, readonly) ASDisplayNode *node;
|
|
|
|
// AsyncDisplayKit 2.0 BETA: This property is still being tested, but it allows
|
|
// blocking as a view controller becomes visible to ensure no placeholders flash onscreen.
|
|
// Refer to examples/SynchronousConcurrency, AsyncViewController.m
|
|
@property (nonatomic, assign) BOOL neverShowPlaceholders;
|
|
|
|
- (instancetype)initWithNode:(ASDisplayNode *)node;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END |