From c7097db939d48b8ca74e1791b2d636b5fb2d016b Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Thu, 19 Oct 2017 22:37:17 -0400 Subject: [PATCH] Respond to CR. // FREEBIE --- Signal/src/ViewControllers/OWSViewController.h | 4 ++-- Signal/src/ViewControllers/OWSViewController.m | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Signal/src/ViewControllers/OWSViewController.h b/Signal/src/ViewControllers/OWSViewController.h index f724660f2..df4a5314b 100644 --- a/Signal/src/ViewControllers/OWSViewController.h +++ b/Signal/src/ViewControllers/OWSViewController.h @@ -8,6 +8,8 @@ NS_ASSUME_NONNULL_BEGIN @interface OWSViewController : UIViewController +@property (nonatomic) BOOL shouldIgnoreKeyboardChanges; + // We often want to pin one view to the bottom guide // of a view controller BUT adjust its location upward // if the keyboard appears. @@ -15,8 +17,6 @@ NS_ASSUME_NONNULL_BEGIN // Use this method in lieu of autoPinToBottomLayoutGuideOfViewController: - (void)autoPinViewToBottomGuideOrKeyboard:(UIView *)view; -- (void)setShouldIgnoreKeyboardChanges:(BOOL)value; - @end NS_ASSUME_NONNULL_END diff --git a/Signal/src/ViewControllers/OWSViewController.m b/Signal/src/ViewControllers/OWSViewController.m index 155db72f7..2b90febb2 100644 --- a/Signal/src/ViewControllers/OWSViewController.m +++ b/Signal/src/ViewControllers/OWSViewController.m @@ -11,7 +11,6 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, weak) UIView *bottomLayoutView; @property (nonatomic) NSLayoutConstraint *bottomLayoutConstraint; -@property (nonatomic) BOOL shouldIgnoreKeyboardChanges; @end