From f35b31b5b31648c5fed45f8bae51a1a95be63b4b Mon Sep 17 00:00:00 2001 From: "Robinson, Blake" Date: Wed, 17 Apr 2019 13:45:20 -0400 Subject: [PATCH] Makes a property public to allow for adding padding to the button accessory view --- .../LegacyControllers/TopLabelsAndBottomButtonsViewController.h | 1 + .../LegacyControllers/TopLabelsAndBottomButtonsViewController.m | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCoreUI/LegacyControllers/TopLabelsAndBottomButtonsViewController.h b/MVMCoreUI/LegacyControllers/TopLabelsAndBottomButtonsViewController.h index 7d15d543..c59918ea 100644 --- a/MVMCoreUI/LegacyControllers/TopLabelsAndBottomButtonsViewController.h +++ b/MVMCoreUI/LegacyControllers/TopLabelsAndBottomButtonsViewController.h @@ -24,6 +24,7 @@ @property (nullable, weak, nonatomic) UIView *viewInScroll; @property (nullable, weak, nonatomic) UIView *viewOutOfScroll; @property (nullable, strong, nonatomic) UIView *safeAreaView; +@property (nullable, weak, nonatomic) ViewConstrainingView *bottomAccessoryView; // Set to overwrite which view is the top edge and/or bottom edge of the between view. must be added to the ui and constrained before buildViewsBetweenLabelsAndButtons. // Use these to create views that are pinned near the labels or buttons and are separate from any centered content. Add and set in buildInAdditionalViewsBeforeCenteredContent. diff --git a/MVMCoreUI/LegacyControllers/TopLabelsAndBottomButtonsViewController.m b/MVMCoreUI/LegacyControllers/TopLabelsAndBottomButtonsViewController.m index be14e149..03679f2f 100644 --- a/MVMCoreUI/LegacyControllers/TopLabelsAndBottomButtonsViewController.m +++ b/MVMCoreUI/LegacyControllers/TopLabelsAndBottomButtonsViewController.m @@ -30,7 +30,6 @@ @property (nullable, weak, nonatomic) NSArray *middleViews; @property (nullable, weak, nonatomic) UIView *betweenView; -@property (nullable, weak, nonatomic) ViewConstrainingView *bottomAccessoryView; // Adds the button view to the screen. Out of the scroll or in. - (void)addViewOutsideOfScrollView:(UIView *)bottomView;