mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 03:09:56 +00:00
Remove nonnull and nuulable annotations in ASViewController. Travis don't recognize them (yet).
This commit is contained in:
parent
1ef1b647c9
commit
a864341710
@ -11,8 +11,9 @@
|
||||
|
||||
@interface ASViewController : UIViewController
|
||||
|
||||
@property (nonatomic, strong, readonly, nonnull) ASDisplayNode *node;
|
||||
@property (nonatomic, strong, readonly) ASDisplayNode *node;
|
||||
|
||||
- (nullable instancetype)initWithNode:(nonnull ASDisplayNode *)node;
|
||||
//TODO Use nonnull annotation late on. Travis doesn't recognize it (yet).
|
||||
- (instancetype)initWithNode:(ASDisplayNode *)node;
|
||||
|
||||
@end
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
return nil;
|
||||
}
|
||||
|
||||
ASDisplayNodeAssertNotNil(node, @"Node must not be nil");
|
||||
ASDisplayNodeAssertTrue(!node.layerBacked);
|
||||
_node = node;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user