FaqViewController.m 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. //
  2. // FaqViewController.m
  3. // OneCable
  4. //
  5. // Created by nComz on 2017. 4. 4..
  6. // Copyright © 2017년 ntels. All rights reserved.
  7. //
  8. #import "FaqViewController.h"
  9. #import "CustomTableView.h"
  10. #import "CustomImageView.h"
  11. @implementation FaqTableViewCell
  12. @end
  13. @interface FaqViewController ()
  14. @end
  15. @implementation FaqViewController
  16. - (void)viewDidLoad {
  17. [super viewDidLoad];
  18. }
  19. - (void)didReceiveMemoryWarning {
  20. [super didReceiveMemoryWarning];
  21. }
  22. - (void)initUI {
  23. }
  24. #pragma mark - UITableView DataSource & Delegate
  25. - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
  26. return 1;
  27. }
  28. - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
  29. return 1;
  30. }
  31. - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  32. FaqTableViewCell *cell = (FaqTableViewCell *)[tableView dequeueReusableCellWithIdentifier:@"FaqCellIdentifier"];
  33. return cell;
  34. }
  35. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
  36. [super tableView:tableView didSelectRowAtIndexPath:indexPath];
  37. }
  38. #pragma mark - UI Events
  39. - (IBAction)btnCloseTouched:(id)sender {
  40. [self dismissViewControllerAnimated:YES completion:nil];
  41. }
  42. @end