// // EleFourTableVC.m // JSJPCoach // // Created by EchoShacolee on 2018/1/30. // Copyright © 2018年 Danson. All rights reserved. // #import "EleFourTableVC.h" #import "EleOneCell.h" @interface EleFourTableVC () @end @implementation EleFourTableVC - (void)viewDidLoad { [super viewDidLoad]; self.kemuStr = @"4"; [self getData]; [self.tableView registerNib:[UINib nibWithNibName:@"EleOneCell" bundle:nil] forCellReuseIdentifier:@"cellId"]; self.tableView.estimatedRowHeight = 178; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { EleOneCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cellId" forIndexPath:indexPath]; cell.kemu = 4; cell.dataDic = self.dataurce[indexPath.row]; return cell; } @end