Avatar
omochimetaru 1/10/2018 9:16 AM
protocol ValueProducer { associatedtype Value var value: Value { get } } ↑これ自作してさ
9:16 AM
BehaviorRelayをextensionでconformanceさせて AnyValueProducer<T> で返せば?
9:16 AM
protocol ValueProducer : ObservableConvertible { associatedtype Value var value: Value { get } }
9:17 AM
こうかな。(ObservableConvertibleを足した)