mvm_core_ui/MVMCoreUI/BaseControllers/MFProgrammaticTableViewController.h
Pfeil, Scott Robert 98fa47aaae Migration
2019-01-10 14:23:14 -05:00

28 lines
1012 B
Objective-C

//
// MFProgrammaticTableViewController.h
// myverizon
//
// Created by Scott Pfeil on 12/17/14.
// Copyright (c) 2014 Verizon Wireless. All rights reserved.
//
// Table view property and scrollview property is the same.
#import <MVMCoreUI/MFScrollingViewController.h>
@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;
// This class should create the table view that will be used here. Subclass this for different table styles.
- (nonnull UITableView *)createTableView;
// Sets the table to have no section headers or footers.
- (void)setToHaveNoSectionHeadersFooters;
@end