title: Show Category and subcategory in tableview
body: <p>I have two arrays: one for categories and second for subcategory. When I parse a category and save it in first array and get subcategory from this array, I want to access the specific subcategories for my category. e.g for 1 index of category array I want to save subcategory array for that.</p>
  
  <pre><code>NSDictionary * datas = [dic valueForKey:@"data"];
  
  for(NSArray *data in datas ){
      ParseSubCategoryModel * PSCM = [[ParseSubCategoryModel alloc]init];
  
      PSCM.ZeroIndex = [data objectAtIndex:0];
      PSCM.OneIndex = [data objectAtIndex:1];
      PSCM.TwoIndex = [data objectAtIndex:2];
      PSCM.THreeIndex = [data objectAtIndex:3];
  
      NSArray *sub1 = [ PSCM.OneIndex valueForKey:@"sub_categories"];// parse sub_categories here ok he yaha tak
      self.fetchData  = [[NSMutableArray alloc]init];
      self.SubSubData  = [[NSMutableArray alloc]init];
  
  
      for(NSDictionary *subdic in sub1 ){
  
          ParseSubCategoryModel * PSCM1 = [[ParseSubCategoryModel alloc]init];
          PSCM1.id_no = [subdic valueForKey:@"_id"];
          PSCM1.name = [subdic valueForKey:@"name"];
          PSCM1.is_active = [subdic valueForKey:@"is_active"];
          PSCM1.url = [subdic valueForKey:@"url"];
          PSCM1.category_order = [subdic valueForKey:@"sub_category_order"];
          PSCM1.updated_at = [subdic valueForKey:@"updated_at"];
          PSCM1.created_at = [subdic valueForKey:@"created_at"];
          [self.fetchData addObject:PSCM1];
  
          NSArray *subsub1 = [subdic valueForKey:@"sub_subcategories"];//parse sub_subcategories here
          for(NSDictionary *subSubdic  in subsub1 ){
  
              ParseSubCategoryModel * PSCM2 = [[ParseSubCategoryModel alloc]init];
              PSCM2.id_no = [subSubdic valueForKey:@"_id"];
              PSCM2.name = [subSubdic valueForKey:@"name"];
              PSCM2.is_active = [subSubdic valueForKey:@"is_active"];
              PSCM2.url = [subSubdic valueForKey:@"url"];
              PSCM2.category_order = [subSubdic valueForKey:@"sub_subcategory_order"];
              PSCM2.updated_at = [subSubdic valueForKey:@"updated_at"];
              PSCM2.created_at = [subSubdic valueForKey:@"created_at"];
              [self.SubSubData insertObject:PSCM2 atIndex:0];
              NSLog(@"%@",self.SubSubData);
          }
      }
  } 
  </code></pre>