| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- //
- // ThingsAddCompleteViewController.m
- //
- //
- // Created by Jason Lee on 11/13/15.
- //
- //
- #import "ThingsAddCompleteViewController.h"
- @interface ThingsAddCompleteViewController () {
- }
- @end
- #pragma mark - Class Definition
- @implementation ThingsAddCompleteViewController
- - (void)viewDidLoad {
- [super viewDidLoad];
- // Do any additional setup after loading the view.
-
- [self initUI];
- [self prepareViewDidLoad];
- }
- - (void)initUI {
- if (_isDeleteMode) {
- _lblTitle.text = @"삭제 성공";
- _lblDesc.text = @"장치를 삭제했습니다";
- }
- }
- - (void)viewDidAppear:(BOOL)animated {
- [super viewDidAppear:animated];
-
- [UIView animateWithDuration:kfAnimationDur animations:^{
- _maskView.alpha = 0.7;
- } completion:^(BOOL finished) {
-
- _constraintPopViewTop.constant = (IPHONE_HEIGHT - _popView.height) / 2;
-
- [UIView animateWithDuration:kfAnimationDur animations:^{
- [self.view layoutIfNeeded];
- }];
- }];
- }
- - (void)prepareViewDidLoad {
-
- }
- #pragma mark - Main Logic
- #pragma mark - UI Events
- - (IBAction)btnCompleteTouched:(id)sender {
-
- [[JDFacade facade] dismissModalStack:YES completion:^{
- [[JDFacade facade] gotoWishMenu:KNMenuIdThings];
- }];
- }
- #pragma mark - MemoryWarning
- - (void)didReceiveMemoryWarning
- {
- [super didReceiveMemoryWarning];
- // Dispose of any resources that can be recreated.
- }
- @end
|