Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///////////////////////h
- BusSch *newView_BSch;
- //////////////////////.m
- - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
- if( indexPath.row == 0 || indexPath.row == 1){
- // newView_BSch = nil;
- if (newView_BSch == nil){
- ////////////////////////////bussch.m
- - (void)viewWillAppear:(BOOL)animated {
- NSLog(@"%d", sectionView);
- self.title = self.viewName;
- [self.secRoutes removeAllObjects];
- [self.secNames removeAllObjects];
- if (self.sectionView == 0){
- NSLog(@"in view 0");
- [self setupArrays0];
- self.numSections = 4;
- }
Add Comment
Please, Sign In to add comment