mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Add a warning if [super layout] is not called (which causes big problems for ASLayout.)
This commit is contained in:
@@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*
|
||||
* @discussion Subclasses override this method to layout all subnodes or subviews.
|
||||
*/
|
||||
- (void)layout;
|
||||
- (void)layout ASDISPLAYNODE_REQUIRES_SUPER;
|
||||
|
||||
/**
|
||||
* @abstract Called on the main thread by the view's -layoutSubviews, after -layout.
|
||||
|
||||
Reference in New Issue
Block a user