| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- //
- // ThingsDelValveViewController.m
- // OneCable
- //
- // Created by nComz on 2017. 3. 21..
- // Copyright © 2017년 ntels. All rights reserved.
- //
- #import "ThingsGeneralDelViewController.h"
- #import "CustomLabel.h"
- #import "CustomButton.h"
- #import "CustomImageView.h"
- #import "ThingsGeneralDelStartViewController.h"
- @interface ThingsGeneralDelViewController ()
- @end
- @implementation ThingsGeneralDelViewController
- - (void)viewDidLoad {
- [super viewDidLoad];
- [self initUI];
- [self prepareViewDidLoad];
- }
- - (void)viewDidAppear:(BOOL)animated {
- [super viewDidAppear:animated];
- [UIView animateWithDuration:kfAnimationDur animations:^{
- _maskView.alpha = 0.7;
- } completion:^(BOOL finished) {
-
-
- [UIView animateWithDuration:kfAnimationDur animations:^{
- [self.view layoutIfNeeded];
- }];
- }];
- }
- - (void)initUI {
- // [self initTableViewAsDefaultStyle:_tableView];
- // [self startLoading:NO];
- }
- - (void)prepareViewDidLoad {
- // [self startLoading:NO];
- _imgThings.image = [_delDevice imgaeForAddDel];
- _lblManufacturer.text = [_delDevice manufacturerName];
- _lblTitle.text = [NSString stringWithFormat:@"%@ 삭제", _delDevice.prdName];
- }
- - (IBAction)btnCancelTouched:(id)sender {
- [self dismissViewControllerAnimated:YES completion:nil];
- }
- - (IBAction)btnStartTouched:(id)sender {
- ThingsGeneralDelStartViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"ThingsGeneralDelStartViewController" storyboardName:@"Things"];
-
- vc.delDevice = _delDevice;
-
- [self showTransparencyModalView:vc];
- }
- - (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
-
- }
- @end
|