mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Refactor calculation of interface state based on ASDisplayNode and window
This commit is contained in:
@@ -59,6 +59,11 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
ASDISPLAYNODE_EXTERN_C_BEGIN
|
||||
|
||||
/**
|
||||
Returns the appropriate interface state for a given ASDisplayNode and window
|
||||
*/
|
||||
extern ASInterfaceState ASInterfaceStateForDisplayNode(ASDisplayNode *displayNode, UIWindow *window);
|
||||
|
||||
/**
|
||||
Given a layer, returns the associated display node, if any.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user