mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-03 00:54:42 +03:00
20 lines
272 B
Swift
20 lines
272 B
Swift
/**
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
* See LICENSE
|
|
*/
|
|
|
|
import Cocoa
|
|
import RxSwift
|
|
|
|
protocol Flow {
|
|
var sink: Observable<Any> { get }
|
|
}
|
|
|
|
protocol Store: Flow {}
|
|
|
|
protocol Component: Flow {}
|
|
|
|
protocol ViewComponent: Component {
|
|
var view: NSView { get }
|
|
}
|