1
1
mirror of https://github.com/qvacua/vimr.git synced 2025-01-07 06:33:19 +03:00
vimr/VimR/Component.swift

20 lines
272 B
Swift
Raw Normal View History

2016-07-21 20:28:58 +03:00
/**
* Tae Won Ha - http://taewon.de - @hataewon
* See LICENSE
*/
2016-08-03 22:41:43 +03:00
import Cocoa
2016-07-21 20:28:58 +03:00
import RxSwift
2016-07-26 22:42:30 +03:00
protocol Flow {
2016-07-21 20:28:58 +03:00
var sink: Observable<Any> { get }
}
2016-07-26 22:42:30 +03:00
protocol Store: Flow {}
protocol Component: Flow {}
2016-07-21 20:28:58 +03:00
protocol ViewComponent: Component {
var view: NSView { get }
}