Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save riosc/5102476 to your computer and use it in GitHub Desktop.
Save riosc/5102476 to your computer and use it in GitHub Desktop.
tableview delegates and datasources methods
#pragma mark table view delegate and datasources
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
return 1183;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
UIEndodonticExamToothCell
* cell = [tableView dequeueReusableCellWithIdentifier:@"toothEndodonticDiagnosis"];
return cell;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
return 3;
}
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment