mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Use nonnull annotation, instead of sanity check, for node property in ASViewController.
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <AsyncDisplayKit/AsyncDisplayKit.h>
|
||||
#import <AsyncDisplayKit/ASDisplayNode.h>
|
||||
|
||||
@interface ASViewController : UIViewController
|
||||
|
||||
@property (nonatomic, strong, readonly) ASDisplayNode *node;
|
||||
@property (nonatomic, strong, readonly, nonnull) ASDisplayNode *node;
|
||||
|
||||
- (instancetype)initWithNode:(ASDisplayNode *)node;
|
||||
- (nullable instancetype)initWithNode:(nonnull ASDisplayNode *)node;
|
||||
|
||||
@end
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user