How can I create a Signal
from a tap on a UIButton
?
So far I tried to use target/action, but have come to think that there might be an easier way.
In an article of Colin Eberhardt, it is stated that Signals
are appropriate for UI actions. But when I tried to make my around with target/action, I needed to create a CocoaAction
was ultimately initialised with a SignalProducer
.
What I want is some Signal
that emits its next
events with every user tap. I then want to transform this Signal to read from UITextFields
and carry on those values to use them in my application.