Commits

Mike Abdullah  committed 600cf15

It makes more sense for the method to be -viewControllerWithIdentifier:

  • Participants
  • Parent commits ae85e9f

Comments (0)

Files changed (2)

File BWTabViewController.h

 - (void)addViewController:(NSViewController *)controller;
 - (void)removeViewController:(NSViewController *)controller;
 
-- (NSViewController *)viewControllerForIdentifier:(NSString *)identifier;
+- (NSViewController *)viewControllerWithIdentifier:(NSString *)identifier;
 
 
 #pragma mark Managing the Selected Tab

File BWTabViewController.m

     [_tabViewItems removeObjectAtIndex:index];
 }
 
-- (NSViewController *)viewControllerForIdentifier:(NSString *)identifier;
+- (NSViewController *)viewControllerWithIdentifier:(NSString *)identifier;
 {
     NSParameterAssert(identifier);