title: UITableView was deallocated while key value observers were still registered with it
body: <p>I am using <strong>MFSideMenu</strong> controller for most of the apps which have side menu function. All the apps are working fine on iOS 7 and prior versions but NOT on iPhone 6 devices running iOS 8 (Works fine on iPhone 5 running iOS8).<br>
  I cannot seem to figure out what to do to resolve this error that I am receiving. When click on a cell on the LeftMenu UITableView, app crashes and gives this error.</p>
  
  <pre><code>Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x7fc492877e00 of class UITableView was deallocated while key value observers were still registered with it. Current observation info: &lt;NSKeyValueObservationInfo 0x7fc492634860&gt;
  </code></pre>
  
  <p>Note: UITableView is a XIB IBOutlet</p>
  
  <p>This is how the code looks </p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
      // Do any additional setup after loading the view from its nib.
  
      // This will remove extra space on top of the tableview
      self.automaticallyAdjustsScrollViewInsets = NO;
      // This will remove extra separators from tableview
      self.tblViewMenu.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];
  
      // menu titles
      arrMenu = [Config returnArrLeftMenu];
  
      // check login status
      [self checkLoginStatus];
  }
  
  
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  static NSString *CustomCellIdentifier = @"CustomCellIdentifier ";
  
  MenuCell *mCell = (MenuCell *)[tableView dequeueReusableCellWithIdentifier: CustomCellIdentifier];
  
  // menu cell
  if (mCell == nil) {
      NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"MenuCell" owner:self options:nil];
  
      for (id oneObject in nib) if ([oneObject isKindOfClass:[MenuCell class]])
          mCell = (MenuCell *)oneObject;
  
  }
  
      mCell.selectionStyle = UITableViewCellSelectionStyleBlue;
      mCell.contentView.backgroundColor = [UIColor clearColor];
      mCell.backgroundColor = [UIColor clearColor];
      mCell.lblTitle.text = [arrMenu objectAtIndex:indexPath.row];
  
      return mCell;
  }
  
  
  - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
  
      // load selected menu view on to the MAinViewController
      MainViewController *mainController = [[MainViewController alloc] initWithNibName:@"MainViewController" bundle:nil];
  
      mainController.title = [arrMenu objectAtIndex:indexPath.row];
      mainController.menuIndex = (int)indexPath.row;
  
      UINavigationController *navigationController = self.menuContainerViewController.centerViewController;
      NSArray *controllers = [NSArray arrayWithObject:mainController];
      navigationController.viewControllers = controllers;
      [self.menuContainerViewController setMenuState:MFSideMenuStateClosed];
  
  }
  </code></pre>