Skip to content

Commit

Permalink
fix templates
Browse files Browse the repository at this point in the history
  • Loading branch information
marty-suzuki committed Oct 24, 2019
1 parent deffa18 commit 98549d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ extension ___VARIABLE_productName___ViewStream {

}


static func bind(from dependency: Dependency<Input, State, Extra>, disposeBag: DisposeBag) -> Output {

let state = dependency.state
Expand Down
11 changes: 5 additions & 6 deletions Tools/UnioStream.xctemplate/___FILEBASENAME___Stream.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import RxCocoa
import RxSwift
import Unio

protocol ___VARIABLE_productName___ViewStreamType: AnyObject {
var input: InputWrapper<___VARIABLE_productName___ViewStream.Input> { get }
var output: OutputWrapper<___VARIABLE_productName___ViewStream.Output> { get }
protocol ___VARIABLE_productName___StreamType: AnyObject {
var input: InputWrapper<___VARIABLE_productName___Stream.Input> { get }
var output: OutputWrapper<___VARIABLE_productName___Stream.Output> { get }
}

final class ___VARIABLE_productName___ViewStream: UnioStream<___VARIABLE_productName___ViewStream>, ___VARIABLE_productName___ViewStreamType {
final class ___VARIABLE_productName___Stream: UnioStream<___VARIABLE_productName___Stream>, ___VARIABLE_productName___StreamType {

init(extra: Extra = .init()) {
super.init(input: Input(),
Expand All @@ -18,7 +18,7 @@ final class ___VARIABLE_productName___ViewStream: UnioStream<___VARIABLE_product
}
}

extension ___VARIABLE_productName___ViewStream {
extension ___VARIABLE_productName___Stream {

struct Input: InputType {

Expand Down Expand Up @@ -51,7 +51,6 @@ extension ___VARIABLE_productName___ViewStream {

}


static func bind(from dependency: Dependency<Input, State, Extra>, disposeBag: DisposeBag) -> Output {

let state = dependency.state
Expand Down

0 comments on commit 98549d1

Please sign in to comment.