1. mikeabdullah
  2. BWToolkit

Commits

Mike Abdullah  committed 36a6578

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

  • Participants
  • Parent commits 002e301
  • Branches default

Comments (0)

Files changed (1)

File BWTabViewController.m

View file
  • Ignore whitespace
 
 #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)
         {