//
//  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
