Commits

Anonymous committed 36a6578

Renamed -didInit to -BW_initializeIvars so can't clash with subclasses

Comments (0)

Files changed (1)

BWTabViewController.m

 
 #pragma mark Init & Dealloc
 
-- (void)didInit
+- (void)BW_initializeIvars
 {
     _viewControllers = [[NSMutableArray alloc] init];
     _tabViewItems = [[NSMutableArray alloc] init];
     [super init];
     
     _tabViewType = type;
-    [self didInit];
+    [self BW_initializeIvars];
     
     return self;
 }
         if (tabView) [self setTabView:tabView];
         
         // Make sure ivars have been initialized before unarchiving view controllers
-        [self didInit];
+        [self BW_initializeIvars];
         NSArray *controllers = [decoder decodeObjectForKey:@"viewControllers"];
         for (NSViewController *aController in controllers)
         {