mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Don't expose hierarchy notifs in public node API.
`-[ASDisplayNode willEnterHierarchy]` and `-didExitHierarchy` are subclass hooks and should not be called directly -- doing so will trigger an assertion! Move these declarations to the subclassing header.
This commit is contained in:
@@ -239,16 +239,6 @@
|
||||
@property (nonatomic, readonly, assign) ASDisplayNode *supernode;
|
||||
|
||||
|
||||
/** @name Observing node-related changes */
|
||||
|
||||
|
||||
// Called just before the view is added to a superview.
|
||||
- (void)willEnterHierarchy;
|
||||
|
||||
// Called after the view is removed from the window.
|
||||
- (void)didExitHierarchy;
|
||||
|
||||
|
||||
/** @name Drawing and Updating the View */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user