moved top and bottom pin to scrolling view controller
This commit is contained in:
parent
10fe33748f
commit
14f6861493
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
@ -10,7 +10,5 @@
|
||||
|
||||
@interface ProgrammaticScrollViewController : MFScrollingViewController
|
||||
|
||||
@property (nullable, nonatomic, strong) NSLayoutConstraint *topConstraint;
|
||||
@property (nullable, nonatomic, strong) NSLayoutConstraint *bottomConstraint;
|
||||
|
||||
@end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user