Commits

Anonymous committed b892511

Sending -viewWillAppear: -viewDidAppear: when -setTabView: is called

Comments (0)

Files changed (1)

BWTabViewController.m

     
     
     // Keep selection in sync
+    [[self selectedViewController] viewWillAppear:NO];
+    
     [tabView bind:NSSelectedIndexBinding
          toObject:self
       withKeyPath:@"selectedIndex"
           options:nil];
+    
+    [[self selectedViewController] viewDidAppear:NO];
 }
 
 - (BOOL)isTabViewLoaded { return (_tabView != nil); }