| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- //
- // RulesAddCompleteViewController.m
- // kneet2
- //
- // Created by Jason Lee on 11/26/15.
- // Copyright © 2015 ntels. All rights reserved.
- //
- #import "RulesAddCompleteViewController.h"
- #import "MainViewController.h"
- @interface RulesAddCompleteViewController () {
- }
- @end
- #pragma mark - Class Definition
- @implementation RulesAddCompleteViewController
- - (void)viewDidLoad {
- [super viewDidLoad];
- // Do any additional setup after loading the view.
-
- [self initUI];
- [self prepareViewDidLoad];
- }
- - (void)initUI {
-
- }
- - (void)viewDidAppear:(BOOL)animated {
- [super viewDidAppear:animated];
-
- [UIView animateWithDuration:kfAnimationDur animations:^{
- _maskView.alpha = 0.7;
- } completion:^(BOOL finished) {
-
- _constraintPopViewTop.constant = 64;
-
- [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].mainViewController updateRulesListRecently];
- }];
- }
- #pragma mark - MemoryWarning
- - (void)didReceiveMemoryWarning
- {
- [super didReceiveMemoryWarning];
- // Dispose of any resources that can be recreated.
- }
- @end
|