@class UIViewController, NSString, TSKHideOnTouchOutsideViewGestureRecognizer, TSKModalShieldView, UIView, TSKPopoverController; @protocol TSKPopoverBasedViewControllerDelegate; @interface TSKPopoverBasedViewController : UIViewController { TSKHideOnTouchOutsideViewGestureRecognizer *mHideOnTouchGestureRecognizer; id /* block */ mHalfHeightCloseBlock; BOOL mHalfHeightAnimated; TSKModalShieldView *mHalfHeightTapShield; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } mHalfHeightOriginalFrame; UIView *mHalfHeightParentView; BOOL mViewControllerVisible; BOOL mUndoManagerNotificationsRegistered; } @property (retain, nonatomic) UIViewController *halfHeightViewController; @property (nonatomic) id popoverDelegate; @property (nonatomic) BOOL wrapInNavigationController; @property (nonatomic) BOOL useDoneButton; @property (nonatomic) BOOL viewResizesWithKeyboard; @property (readonly, nonatomic) BOOL shouldHideToolbar; @property (readonly, nonatomic) BOOL isPopoverGestureInFlight; @property (nonatomic) BOOL dismissOnUndo; @property (nonatomic) BOOL imposeContentSizeOnViewControllers; @property (retain, nonatomic) UIView *popoverToggleView; @property (nonatomic) BOOL allowsOutsideTouch; @property (nonatomic) BOOL staysOpenOnOutsideTouches; @property (readonly, nonatomic) struct CGSize { double x0; double x1; } contentSize; @property (readonly, retain, nonatomic) TSKPopoverController *popoverController; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; - (id)navigationBar; - (void)viewWillAppear:(BOOL)a0; - (void)dealloc; - (void)dismissAnimated:(BOOL)a0; - (void)navigationController:(id)a0 willShowViewController:(id)a1 animated:(BOOL)a2; - (BOOL)isPopoverVisible; - (void)viewDidLoad; - (unsigned long long)supportedInterfaceOrientations; - (id)initWithNibName:(id)a0 bundle:(id)a1; - (BOOL)isVisible; - (void)dismissPopoverAnimated:(BOOL)a0; - (void)viewDidDisappear:(BOOL)a0; - (void)closeButtonPressed; - (void)presentModallyWithTitle:(id)a0 viewController:(id)a1 animated:(BOOL)a2 withDoneButton:(BOOL)a3; - (double)p_originOffsetForKeyboardFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (void)clearOutsideTouchWatchView; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })frameForCurrentiPhoneOrientation; - (void)i_configureCloseItem:(id)a0; - (id)i_contentViewController; - (void)keyboardDidHideOrUndock:(id)a0; - (void)keyboardWillHideOrUndock:(id)a0; - (void)keyboardWillShowOrDock:(id)a0; - (void)outsideTouch:(id)a0; - (void)p_applicationWillEnterFullScreen:(id)a0; - (void)p_didDismissPopover:(id)a0; - (void)p_dismissFullscreenModalAnimated:(BOOL)a0; - (void)p_dismissFullscreenModalFromCloseButton; - (void)p_dismissHalfHeight; - (void)p_dismissHalfHeightFromCloseButton; - (void)p_dismissPopoverAnimated:(BOOL)a0; - (void)p_informDelegateOfDidDismiss; - (void)p_informDelegateOfWillDismiss; - (void)p_informDelegateOfWillShow; - (void)p_installHideOnTouchGesture; - (void)p_keyboardWillHide:(BOOL)a0 withNotification:(id)a1; - (id)p_newCloseImageBarButtonWithTarget:(id)a0 action:(SEL)a1; - (id)p_newRootViewController; - (id)p_outsideTouchWatchView; - (void)p_registerPopoverBasedViewControllerNotifications; - (void)p_removeHideOnTouchGesture; - (BOOL)p_shouldResizeViewWithKeyboard; - (void)p_showModalInViewController:(id)a0 withTitle:(id)a1 animated:(BOOL)a2 withDoneButton:(BOOL)a3; - (id)p_topParentViewController; - (void)p_willPresentPopover; - (void)presentInRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inView:(id)a1 animated:(BOOL)a2 modal:(BOOL)a3 closeBlock:(id /* block */)a4; - (void)presentInRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inView:(id)a1 animated:(BOOL)a2 modal:(BOOL)a3 closeBlock:(id /* block */)a4 animations:(id /* block */)a5; - (void)presentModallyFromBarItem:(id)a0 viewController:(id)a1; - (void)presentModallyFromRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inView:(id)a1 viewController:(id)a2; - (void)presentModallyFromRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inView:(id)a1 viewController:(id)a2 arrowDirection:(unsigned long long)a3 animated:(BOOL)a4; - (void)presentModallyFromRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inView:(id)a1 viewController:(id)a2 arrowDirection:(unsigned long long)a3 animated:(BOOL)a4 withDoneButton:(BOOL)a5; - (void)presentModallyFromRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inView:(id)a1 viewController:(id)a2 arrowDirection:(unsigned long long)a3 animated:(BOOL)a4 withDoneButton:(BOOL)a5 constrainToView:(BOOL)a6 withPadding:(double)a7 fromToolbar:(BOOL)a8; - (void)presentModallyFromRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inView:(id)a1 viewController:(id)a2 withDoneButton:(BOOL)a3; - (void)resetOutsideTouchWatchView; - (void)shieldViewReceivedTap; - (void)showPopoverFromBarItem:(id)a0; - (void)showPopoverFromRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inView:(id)a1; - (void)showPopoverFromRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inView:(id)a1 arrowDirection:(unsigned long long)a2 animated:(BOOL)a3; - (void)showPopoverFromRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inView:(id)a1 arrowDirection:(unsigned long long)a2 animated:(BOOL)a3 constrainToView:(BOOL)a4 withPadding:(double)a5 fromToolbar:(BOOL)a6; - (BOOL)wantsDismissButton; @end