// // MultiHomeHubViewController.m // OneCable // // Created by nComz on 2017. 5. 11.. // Copyright © 2017년 ntels. All rights reserved. // #import "MultiHomeHubViewController.h" #import "RequestHandler.h" #import "DeviceModel.h" #import "CustomTableView.h" #import "CustomButton.h" #import "Reachability.h" /** 네트워크, 동글 On / Off 이미지 On : img_homehub_list_connect Off : img_homehub_list_notconnect 업데이트 On / Off 이미지 On : img_homehub_list_update_on Off : img_homehub_list_update_off **/ @interface MultiHomeHubViewController () @end @implementation MultiHomeHubTableViewCell - (void)didMoveToSuperview { // [self layoutIfNeeded]; } @end @implementation MultiHomeHubViewController - (void)viewDidLoad { [super viewDidLoad]; [self initUI]; } - (void)initUI { [self initTableViewAsDefaultStyle:_tableView]; } - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return 1; } - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return 1; } - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { CGFloat height = 151.0f; return height; } - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *cell = nil; MultiHomeHubTableViewCell *tcell = (MultiHomeHubTableViewCell *)[tableView dequeueReusableCellWithIdentifier:@"MultiHubCellIdentifier"]; cell = tcell; return cell; } - (IBAction)btnCloseTouched:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; } @end