vipergeng 0.2.23 → 1.0.0
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 +4 -4
- data/README.md +8 -20
- data/lib/templates/default/swift/ViewController/VIPERViewController.swift +23 -0
- data/lib/vipergen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f49dde3e15f1b2d73125c4e798b6c6e57a00d044
|
4
|
+
data.tar.gz: 38880a9ccb3057c4b3dd38cdbdff59161bf56d62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5390161e537e20d13af7545f1bfaf141d6532a2273ca4bf78ab722e92a9e09f1f05f90d17713d440f6aa73d7c98c70f4dd4984dc49ee999d4a3d7f07d8d4f651
|
7
|
+
data.tar.gz: edd6420d0c2a7b2c2dfba54b6e8fb5d5d53889ed02a12e33d1efb2c40bbce3464c88f607cbd044791f795f36ccff1644239e00b4d70e50b66b3d07b426043559
|
data/README.md
CHANGED
@@ -24,26 +24,10 @@ The implementation scheme returned by this generator is hardly inspired in the e
|
|
24
24
|
|
25
25
|
## Features
|
26
26
|
- Generates the module in Swift
|
27
|
-
- Ready to be installed as a gem https://rubygems.org/gems/
|
27
|
+
- Ready to be installed as a gem https://rubygems.org/gems/vipergeng
|
28
28
|
|
29
|
-
### Changelog 0.
|
30
|
-
-
|
31
|
-
- YAML file in each template with the information about the template (more scalable)
|
32
|
-
|
33
|
-
### Changelog 0.1
|
34
|
-
- Added default template
|
35
|
-
- Fully components tested
|
36
|
-
|
37
|
-
### Changelog 0.2.3
|
38
|
-
- VIPER Example using the Twitter API
|
39
|
-
- Default template implemented in Swift
|
40
|
-
|
41
|
-
### Changelog 0.2.5
|
42
|
-
- Add `COMPANY` parameter to set the company name on the files header
|
43
|
-
- Set Swift as the default language
|
44
|
-
|
45
|
-
### Changelog 0.2.13
|
46
|
-
- Add `PROJECT` parameter to set the company name on the files header
|
29
|
+
### Changelog 0.2.23
|
30
|
+
- 날짜 포맷을 바꿈.
|
47
31
|
|
48
32
|
## Viper files structure
|
49
33
|
```bash
|
@@ -61,7 +45,7 @@ The implementation scheme returned by this generator is hardly inspired in the e
|
|
61
45
|
+-- Protocols
|
62
46
|
| +-- VIPERProtocols.swift
|
63
47
|
```
|
64
|
-
## How to install
|
48
|
+
## How to install vipergeng ?
|
65
49
|
You can install it easily as using the gem. With ruby installed in your OSX execute:
|
66
50
|
```bash
|
67
51
|
sudo gem install vipergeng
|
@@ -104,6 +88,10 @@ updated_at: 2014-08-24
|
|
104
88
|
```
|
105
89
|
- Report it as a PR in this repo updating the gem version in Gemspec.
|
106
90
|
|
91
|
+
## VIPER 참조 사이트
|
92
|
+
- https://www.objc.io/issues/13-architecture/viper/
|
93
|
+
- https://swifting.io/blog/2016/03/07/8-viper-to-be-or-not-to-be/
|
94
|
+
|
107
95
|
## Resources
|
108
96
|
- Rspec documentation: http://rubydoc.info/gems/rspec-expectations/frames
|
109
97
|
- XCode Plugins: http://nshipster.com/xcode-plugins/
|
@@ -11,4 +11,27 @@ import UIKit
|
|
11
11
|
|
12
12
|
class VIPERViewController: UIViewController, VIPERViewProtocol {
|
13
13
|
var presenter: VIPERPresenterProtocol?
|
14
|
+
|
15
|
+
override func viewDidLoad() {
|
16
|
+
super.viewDidLoad()
|
17
|
+
|
18
|
+
// Do any additional setup after loading the view.
|
19
|
+
}
|
20
|
+
|
21
|
+
override func didReceiveMemoryWarning() {
|
22
|
+
super.didReceiveMemoryWarning()
|
23
|
+
// Dispose of any resources that can be recreated.
|
24
|
+
}
|
25
|
+
|
26
|
+
|
27
|
+
/*
|
28
|
+
// MARK: - Navigation
|
29
|
+
|
30
|
+
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
31
|
+
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
|
32
|
+
// Get the new view controller using segue.destinationViewController.
|
33
|
+
// Pass the selected object to the new view controller.
|
34
|
+
}
|
35
|
+
*/
|
36
|
+
|
14
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: 0.
|
4
|
+
version: 1.0.0
|
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-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|