1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-29 16:56:40 +03:00

Use private where appropriate

This commit is contained in:
Tae Won Ha 2017-12-17 21:07:37 +01:00
parent 188f8958c3
commit 213ddb8279
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -31,8 +31,8 @@ class ActionEmitter {
self.subject.onCompleted()
}
fileprivate let scheduler = SerialDispatchQueueScheduler(qos: .userInteractive)
fileprivate let subject = PublishSubject<Any>()
private let scheduler = SerialDispatchQueueScheduler(qos: .userInteractive)
private let subject = PublishSubject<Any>()
}
class StateActionPair<S, A> {
@ -170,8 +170,8 @@ class UiComponentTemplate: UiComponent {
self.emit(.doSth)
}
fileprivate let emit: (Action) -> Void
fileprivate let disposeBag = DisposeBag()
private let emit: (Action) -> Void
private let disposeBag = DisposeBag()
fileprivate let someField: String
private let someField: String
}