vipergeng 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 481c284e51ebbf3b732f2de8be55fa3ae4dd2a90
|
4
|
+
data.tar.gz: f20ff8237304733f2fb0cc178fa95320a9aaf153
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d29648213ec9bdaccc9635717d3a89f31d4d4396bf7b9e8db07f4592b1b0e1110639afae62010a4018cf3e7a268546df7d6870c4c134faa5c6d5e38f70a3ee96
|
7
|
+
data.tar.gz: 35e61250ea77ed299fc7de32b090b281bd224e934836faef890eee55302f439545e3d0fe852cda152d1cae8cba37ec4ea8e9175b0d3b948c869e3f9357531fcd
|
@@ -12,28 +12,23 @@
|
|
12
12
|
|
13
13
|
#pragma mark - ViewController Lifecycle
|
14
14
|
|
15
|
-
- (void)viewDidLoad
|
16
|
-
{
|
15
|
+
- (void)viewDidLoad {
|
17
16
|
[super viewDidLoad];
|
18
17
|
}
|
19
18
|
|
20
|
-
- (void)viewWillAppear:(BOOL)animated
|
21
|
-
{
|
19
|
+
- (void)viewWillAppear:(BOOL)animated {
|
22
20
|
[super viewWillAppear:animated];
|
23
21
|
}
|
24
22
|
|
25
|
-
- (void)viewWillDisappear:(BOOL)animated
|
26
|
-
{
|
23
|
+
- (void)viewWillDisappear:(BOOL)animated {
|
27
24
|
[super viewWillDisappear:animated];
|
28
25
|
}
|
29
26
|
|
30
|
-
- (void)viewDidAppear:(BOOL)animated
|
31
|
-
{
|
27
|
+
- (void)viewDidAppear:(BOOL)animated {
|
32
28
|
[super viewDidAppear:animated];
|
33
29
|
}
|
34
30
|
|
35
|
-
- (void)viewDidDisappear:(BOOL)animated
|
36
|
-
{
|
31
|
+
- (void)viewDidDisappear:(BOOL)animated {
|
37
32
|
[super viewDidDisappear:animated];
|
38
33
|
}
|
39
34
|
|
@@ -10,8 +10,7 @@
|
|
10
10
|
|
11
11
|
@implementation VIPERWireFrame
|
12
12
|
|
13
|
-
+ (void)presentVIPERModuleFrom:(UIViewController*)fromViewController
|
14
|
-
{
|
13
|
+
+ (void)presentVIPERModuleFrom:(UIViewController*)fromViewController {
|
15
14
|
// Generating module components
|
16
15
|
id <VIPERViewProtocol> view = [[VIPERViewController alloc] initWithNibName:@"VIPERViewController" bundle:nil];
|
17
16
|
id <VIPERPresenterProtocol, VIPERInteractorOutputProtocol> presenter = [VIPERPresenter new];
|
@@ -29,7 +28,9 @@
|
|
29
28
|
interactor.APIDataManager = APIDataManager;
|
30
29
|
interactor.localDataManager = localDataManager;
|
31
30
|
|
32
|
-
//
|
31
|
+
//TODO - New view controller presentation (present, push, pop, .. )
|
32
|
+
// [fromViewController.navigationController pushViewController:view animated:YES];
|
33
|
+
// [fromViewController presentViewController:view animated:YES completion:nil];
|
33
34
|
}
|
34
35
|
|
35
36
|
@end
|
@@ -28,6 +28,10 @@ class VIPERWireFrame: VIPERWireFrameProtocol {
|
|
28
28
|
interactor.presenter = presenter
|
29
29
|
interactor.APIDataManager = APIDataManager
|
30
30
|
interactor.localDatamanager = localDataManager
|
31
|
+
|
32
|
+
//TODO - New view controller presentation (present, push, pop, .. )
|
33
|
+
// fromVC.navigationController?.pushViewController(view) //push 예제
|
34
|
+
// fromVC.present(view, animated: true, completion: nil) //present 예..
|
31
35
|
}
|
32
36
|
|
33
37
|
}
|
data/lib/vipergen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vipergeng
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pedro Piñera
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|