moved top and bottom pin to scrolling view controller

This commit is contained in:
Murugan, Vimal 2019-11-08 22:11:56 +05:30
parent 10fe33748f
commit 14f6861493
3 changed files with 3 additions and 4 deletions

View File

@ -12,8 +12,6 @@
@interface MFProgrammaticTableViewController : MFScrollingViewController <UITableViewDelegate, UITableViewDataSource>
@property (nullable, weak, nonatomic) UITableView *tableView;
@property (nullable, nonatomic, strong) NSLayoutConstraint *topConstraint;
@property (nullable, nonatomic, strong) NSLayoutConstraint *bottomConstraint;
// Registers classes and nibs. Can subclass for different nibs. Can call super and then add new ones after as well.
- (void)registerWithTable;

View File

@ -13,6 +13,9 @@
@property (nullable, weak, nonatomic) IBOutlet UIScrollView *scrollView;
@property (nullable, weak, nonatomic) IBOutlet UIView *contentView;
@property (nullable, nonatomic, strong) NSLayoutConstraint *topConstraint;
@property (nullable, nonatomic, strong) NSLayoutConstraint *bottomConstraint;
// Recognizes single tap/touches to screen for dismissing keyboard
@property (nonnull, strong, nonatomic) UITapGestureRecognizer *dismissKeyboardTapGesture;

View File

@ -10,7 +10,5 @@
@interface ProgrammaticScrollViewController : MFScrollingViewController
@property (nullable, nonatomic, strong) NSLayoutConstraint *topConstraint;
@property (nullable, nonatomic, strong) NSLayoutConstraint *bottomConstraint;
@end