Skip to content

Commit

Permalink
Some examples are missing super calls to viewDidLoad (#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanoshea authored and ianegordon committed Aug 25, 2016
1 parent 9ef47c1 commit ef7d60b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Expand Up @@ -27,6 +27,7 @@ @interface DialogsKeyboardViewController ()
@implementation DialogsKeyboardViewController

- (void)viewDidLoad {
[super viewDidLoad];
// We must create and store a strong reference to the transitionController.
// A presented view controller will set this object as its transitioning delegate.
self.transitionController = [[MDCDialogTransitionController alloc] init];
Expand Down
Expand Up @@ -28,6 +28,7 @@ @interface DialogsTypicalUseViewController ()
@implementation DialogsTypicalUseViewController

- (void)viewDidLoad {
[super viewDidLoad];
// We must create and store a strong reference to the transitionController.
// A presented view controller will set this object as its transitioning delegate.
self.transitionController = [[MDCDialogTransitionController alloc] init];
Expand Down
Expand Up @@ -66,6 +66,8 @@ - (UIStatusBarStyle)preferredStatusBarStyle {
}

- (void)viewDidLoad {
[super viewDidLoad];

self.minimumHeaderHeight = self.fhvc.headerView.minimumHeight;

self.fhvc.headerView.trackingScrollView = self.tableView;
Expand Down

0 comments on commit ef7d60b

Please sign in to comment.