message: Moved method for consistency
diff: return self;
  }
  +- (void)setSelectedTab:(NSInteger)selectedTab
  +{
  + NSInteger eventLag = _nativeEventCount - _mostRecentEventCount;
  + if (eventLag == 0 && _selectedTab != selectedTab) {
  + _selectedTab = selectedTab;
  + if (_tabs.count > selectedTab) {
  + [self setCurrentTab:selectedTab];
  + }
  + }
  +}
  +
  - (void)insertReactSubview:(UIView *)subview atIndex:(NSInteger)atIndex
  {
  [super insertReactSubview:subview atIndex:atIndex];
  }
  }
  -- (void)setSelectedTab:(NSInteger)selectedTab
  -{
  - NSInteger eventLag = _nativeEventCount - _mostRecentEventCount;
  - if (eventLag == 0 && _selectedTab != selectedTab) {
  - _selectedTab = selectedTab;
  - if (_tabs.count > selectedTab) {
  - [self setCurrentTab:selectedTab];
  - }
  - }
  -}
  -
  - (void)setCurrentTab:(NSInteger)index
  {
  _nativeEventCount++;
  