Guest User

Untitled

a guest
May 24th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. ///////////////////////h
  2. BusSch *newView_BSch;
  3.  
  4. //////////////////////.m
  5. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
  6. if( indexPath.row == 0 || indexPath.row == 1){
  7. // newView_BSch = nil;
  8. if (newView_BSch == nil){
  9.  
  10. ////////////////////////////bussch.m
  11. - (void)viewWillAppear:(BOOL)animated {
  12. NSLog(@"%d", sectionView);
  13. self.title = self.viewName;
  14. [self.secRoutes removeAllObjects];
  15. [self.secNames removeAllObjects];
  16.  
  17. if (self.sectionView == 0){
  18. NSLog(@"in view 0");
  19. [self setupArrays0];
  20. self.numSections = 4;
  21. }
Add Comment
Please, Sign In to add comment