Skip to content

Commit 3c59571

Browse files
authored
Merge pull request #2 from furkankaplan/v1.0.1
Fix wrong suffix for swift file of View layer
2 parents 2dec1a3 + 21e7489 commit 3c59571

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

.DS_Store

6 KB
Binary file not shown.

Product/.DS_Store

6 KB
Binary file not shown.

Product/fk

605 KB
Binary file not shown.

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,27 @@ It's a command line interface tool that produces MVVM and VIPER boilerplate modu
44

55
You can check FKArchitectureGeneratorCLI out for details on [Medium story](https://medium.com/@furkan.kaplan/architecture-module-generator-for-ios-3c043519b2f7).
66

7+
## How to setup
8+
9+
It's super easy. Just download the fk executable file in the Product directory and move it under to /usr/local/bin/ path. Here it's ready to produce your MVVM and VIPER modules for your iOS apps.
710

811
## How to use
9-
12+
1013
<img src="https://github.com/furkankaplan/fk-architecture-generator-cli-macos/blob/master/fk-architecture-generator-cli-macos/Screenshots/example.png">
11-
14+
1215
There are two supported architectural pattern FKArchitectureGeneratorCLI has. These are MVVM and VIPER. You can just produce MVVM by typing below
13-
16+
1417
```
1518
fk mvvm GitHub
1619
```
17-
18-
You can change the `GitHub` keyword to change module name with whatever you want.
19-
20+
21+
You can change the `GitHub` keyword to change module name with whatever you want.
22+
2023
## Optional
21-
24+
2225
FKArchitectureGeneratorCLI add a mark as a default to each swift file indicating this module created with this cli. You can hide this mark by adding the flag -u/--unmarked
23-
24-
`fk mvvm ModuleName -u` or `fk mvvm ModuleName -unmarked`
26+
27+
`fk mvvm ModuleName -u` or `fk mvvm ModuleName --unmarked`
2528

2629
## Author
2730

fk-architecture-generator-cli-macos/Architectures/ViperArchitecture.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct ViperArchitecture: Architecture {
2727
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
2828
</dependencies>
2929
<objects>
30-
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="\(name)ViewController" customModuleProvider="target">
30+
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="\(name)View" customModuleProvider="target">
3131
<connections>
3232
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
3333
</connections>

0 commit comments

Comments
 (0)