title: how to call to tableView from class method
body: <p>Ive been having a lot of troubles deleting the cell from the tableView. I have 3 buttons in a sliding cell thats revealed when swiped over, the methods that call the swiping are in JBSliderViewController. In order to access the class method embedded in the homeViewController i created a instance method inside the JBSliderViewController <code>-(void)callDeleteFound</code> to call my +(void)deleteFound thats inside my homeViewController. </p>
  
  <p>My issue now is i cant get access to my tableView to call <code>– deleteRowsAtIndexPaths:withRowAnimation:</code>
  As well as <code>currentTable</code> is returning null</p>
  
  <p>any suggestions?</p>
  
  <p>inside JBSliderController</p>
  
  <pre><code>- (void)callDeletefound {
      [homeViewController deleteFound];
  
  }
  </code></pre>
  
  <p>inside homeViewController</p>
  
  <pre><code>+ (void)deleteFound {
      NSUserDefaults *userSessionData = [NSUserDefaults standardUserDefaults];
      NSString *userID = [userSessionData stringForKey:@"userID"];
      NSString *authKey = [userSessionData stringForKey:@"authKey"];
      NSString *appVersion = [userSessionData stringForKey:@"appVersion"];
      NSString *versionedURL = [NSString stringWithFormat:@"/ios/%@/", appVersion];
      NSURL *url = [NSURL URLWithString:@"http://website.com"];
      NSString *postPath = [NSString stringWithFormat:@"%@deletefind.php", versionedURL];
      AFHTTPClient *httpClient = [[AFHTTPClient alloc] initWithBaseURL:url];
  
      NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys:
                              userID, @"userid",
                              [MyClass friendID], @"friendid",
                              authKey, @"tempAuth",
                              nil];
      [httpClient postPath:postPath parameters:params success:^(AFHTTPRequestOperation *operation, id responseObject) {
          [SVProgressHUD showSuccessWithStatus:@"Removed from notifications"];
          NSMutableArray *notificationArray = [[NSUserDefaults standardUserDefaults] objectForKey:@"notificationsArray"];
          NSMutableArray *arrayThatYouCanRemoveObjects = [NSMutableArray arrayWithArray:notificationArray];
          NSLog(@"%@", [MyClass cellNum]);
          NSInteger *num = [[MyClass cellNum] integerValue];
          [arrayThatYouCanRemoveObjects removeObjectAtIndex:num];
          [currentTable deleteRowsAtIndexPaths:openedCellIndexPath withRowAnimation:UITableViewRowAnimationLeft];
          [currentTable reloadData];
  
      } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
          NSLog(@"[HTTPClient Error]: %@", error.localizedDescription);
          UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"" message:@"Fail" delegate:self cancelButtonTitle:@"Ok" otherButtonTitles:nil];
          [alert show];
      }];
  }
  </code></pre>