Swiftgram/AsyncDisplayKit/UIResponder+AsyncDisplayKit.h
Adlai Holler fab98b32ef Fix Pager Node Issues (#3028)
* Fix pager node and deprecate zeroContentInsets flag

* Do it with the visible state callback

* There we are

* Put viewController in node debug description
2017-02-14 14:10:51 -08:00

25 lines
511 B
Objective-C

//
// UIResponder+AsyncDisplayKit.h
// AsyncDisplayKit
//
// Created by Adlai Holler on 2/13/17.
// Copyright © 2017 Facebook. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIResponder (AsyncDisplayKit)
/**
* The nearest view controller above this responder, if one exists.
*
* This property must be accessed on the main thread.
*/
@property (nonatomic, nullable, readonly) __kindof UIViewController *asdk_associatedViewController;
@end
NS_ASSUME_NONNULL_END