Skip to content

Commit

Permalink
Merge pull request #2 from emvakar/develop
Browse files Browse the repository at this point in the history
update README.md
  • Loading branch information
emvakar authored Apr 8, 2019
2 parents 761be1d + 84a3b9c commit ad827e2
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# viper template for Generamba
my own viper gen files

## How to use
You need some BaseClasses
1. DIResolver
2. BaseWireFrame
3. BaseInteractor
4. BasePresenter
5. BaseViewController: UIViewController

### DIResolver
```swift
class DIResolver {

init() { }

}
```

### BaseWireFrame
```swift
class BaseWireFrame {

let resolver: DIResolver

init(resolver: DIResolver) {
self.resolver = resolver
}
}
```

### BaseInteractor
```swift
class BaseInteractor { }
```

### BasePresenter
```swift
class BasePresenter { }
```

### BaseViewController
```swift
class BaseViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()

}
}
```

0 comments on commit ad827e2

Please sign in to comment.